1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! Centralized font catalog.
//!
//! Backends should import font bytes from here rather than embedding their own copies.
//! This ensures all backends share the same font set without duplication.
//!
//! # Available families
//!
//! - **Roboto** — default UI font (regular, bold, italic, bold-italic)
//! - **PT Root UI** — variable-weight sans-serif from Paratype (single VF file)
//! - **Noto Sans Symbols2** — symbol fallback coverage
//! - **Noto Emoji** — emoji fallback coverage
// ── Roboto ────────────────────────────────────────────────────────────────────
/// Roboto Regular (400).
pub static ROBOTO_REGULAR: & = include_bytes!;
/// Roboto Bold (700).
pub static ROBOTO_BOLD: & = include_bytes!;
/// Roboto Italic (400 italic).
pub static ROBOTO_ITALIC: & = include_bytes!;
/// Roboto Bold Italic (700 italic).
pub static ROBOTO_BOLD_ITALIC: & = include_bytes!;
// ── PT Root UI ─────────────────────────────────────────────────────────────
//
// Variable font — a single file covers the full weight axis (100–900).
// Pass it to fontdue as-is; rasterisation at any weight works from one binary.
/// PT Root UI Variable Font (covers weight axis 100–900).
pub static PT_ROOT_UI_VF: & = include_bytes!;
// ── Fallback fonts ────────────────────────────────────────────────────────────
/// Noto Sans Symbols 2 — wide symbol / mathematical coverage.
pub static NOTO_SANS_SYMBOLS2: & =
include_bytes!;
/// Noto Emoji — color-neutral emoji coverage.
pub static NOTO_EMOJI: & = include_bytes!;