#font #true-type #noto #sans

ttf-noto-sans

Noto Sans TrueType fonts for embedding into your application binary

3 releases

Uses old Rust 2015

0.1.2 Mar 5, 2023
0.1.1 Feb 4, 2017
0.1.0 Feb 2, 2017

#282 in GUI

Download history 31/week @ 2024-03-13 53/week @ 2024-03-20 58/week @ 2024-03-27 94/week @ 2024-04-03 125/week @ 2024-04-10 57/week @ 2024-04-17 62/week @ 2024-04-24 21/week @ 2024-05-01 25/week @ 2024-05-08 21/week @ 2024-05-15 21/week @ 2024-05-22 39/week @ 2024-05-29 26/week @ 2024-06-05 22/week @ 2024-06-12 17/week @ 2024-06-19 13/week @ 2024-06-26

81 downloads per month
Used in 5 crates

MIT/Apache

1MB

Noto Sans TrueType fonts for Rust applications

Travis CI Build Status crates.io

You can use embedded font data from your application.

By default, regular style font is embedded.

[package]
ttf-noto-sans = "0.1"

You can also use other style fonts by specifying custom features.

[package]
ttf-noto-sans = { version = "0.1", features = ["bold", "italic", "bold_italic"] }

Example (use with conrod)

extern crate conrod;
use conrod::UiBuilder;
use conrod::text::FontCollection;

let mut ui = UiBuilder::new([640.0, 480.0]).build();
let _ = ui.fonts.insert(FontCollection::from_bytes(ttf_noto_sans::REGULAR)
    .into_font()
    .expect("failed to into_font"));

Complete example is here

No runtime deps