rust_widgets 2.7.0

Pure Rust cross-platform native GUI library with hardware-adaptive rendering, 180 widgets, touch/gesture support, i18n, and SVG-pipeline-accurate output
// SPDX-FileCopyrightText: Copyright (c) 2026 Mike Li/Mikewolfli/Wei Li(mikewolfli@163.com)
// SPDX-License-Identifier: MIT
//
// GENERATED FILE — DO NOT EDIT BY HAND.
// Produced by `tools/gen_font_subset.py`. Regenerate with:
//     python3 tools/gen_font_subset.py --face=latin --license=ofl-1.1
//
// Glyph source: Open Sans, subset to Latin-1 letters, ASCII, and the punctuation a label uses.
//     https://raw.githubusercontent.com/google/fonts/main/ofl/opensans/OpenSans%5Bwdth,wght%5D.ttf
//     SHA-256 (upstream .ttf): 36643644f318a812aab2d2ed3bb98f8cf0872527f835fe9398d95fe6b9adb878
//
// Licence of the glyph outlines: SIL Open Font License 1.1. See the repository-root `NOTICE`,
// which records this file by name together with the facts above. The subset is a Modified
// Version under the OFL and is renamed: it does not use the upstream Reserved Font Name.
//
// The subset is 35896 bytes (309 glyphs, layout tables: GSUB, GPOS).
// It is *not* compiled unless the feature that names it is enabled, and it is `include_bytes!`d
// rather than written into this source as an array: a 36 KB payload as `0x00,` literals would be
// ~150 KB of source, which is a worse artifact than the binary it describes.

/// The subset's bytes. Parsed on first use, never copied into a heap allocation.
pub const FONT: &[u8] = include_bytes!("latin.ttf");