35 releases (7 breaking)
Uses new Rust 2024
| new 0.57.1 | Jun 8, 2026 |
|---|---|
| 0.56.0 | Jun 6, 2026 |
#1 in #font
299 downloads per month
Used in 8 crates
(3 directly)
135KB
Bundled fonts for the truce audio plugin framework.
Currently exposes a single font - JetBrains Mono Regular - as a
&'static [u8] of the TTF bytes, suitable for hand-off to
fontdue, egui::FontData::from_static, iced::Font (via the
with_font helpers on each editor backend), or any other font
consumer that takes raw bytes.
License
JetBrains Mono is distributed under the SIL Open Font License,
Version 1.1. The full license text is included in the source tree
at fonts/OFL.txt and is also bundled into the published crate
tarball. The font's embedded copyright notice
("Copyright 2020 The JetBrains Mono Project Authors") is preserved
inside the TTF.
Downstream redistribution must keep the font's copyright notice intact and ship a copy of the OFL.
truce-font
Bundled fonts for the truce audio plugin framework.
Exposes JETBRAINS_MONO - JetBrains Mono Regular as &'static [u8]
of TTF bytes - for use by the built-in GUI rasterizer (truce-gui),
the egui / iced / slint editor backends, and the headless screenshot
rendering pipelines.
Why a separate crate
Keeps the font's binary payload + license file out of the framework's main crates.
License
The wrapper code in this crate is licensed under the Apache License, Version 2.0.
The bundled JetBrains Mono font is itself licensed under the SIL
Open Font License, Version 1.1. The full license text is at
fonts/OFL.txt. Downstream redistribution must keep the OFL with
the font and preserve its embedded copyright notice
("Copyright 2020 The JetBrains Mono Project Authors").