#truetype #font #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

#111 in GUI

Download history 57/week @ 2023-02-14 40/week @ 2023-02-21 85/week @ 2023-02-28 102/week @ 2023-03-07 51/week @ 2023-03-14 32/week @ 2023-03-21 23/week @ 2023-03-28 31/week @ 2023-04-04 48/week @ 2023-04-11 9/week @ 2023-04-18 55/week @ 2023-04-25 33/week @ 2023-05-02 18/week @ 2023-05-09 31/week @ 2023-05-16 20/week @ 2023-05-23 85/week @ 2023-05-30

156 downloads per month
Used in 4 crates

MIT/Apache

505KB

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