#font #sans #true-type #noto

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

#465 in GUI

Download history 3/week @ 2024-11-13 17/week @ 2024-11-20 22/week @ 2024-11-27 38/week @ 2024-12-04 67/week @ 2024-12-11 15/week @ 2024-12-18 7/week @ 2025-01-01 16/week @ 2025-01-08 29/week @ 2025-01-15 20/week @ 2025-01-22 18/week @ 2025-01-29 198/week @ 2025-02-05 64/week @ 2025-02-12 17/week @ 2025-02-19 56/week @ 2025-02-26

338 downloads per month
Used in 4 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