Seregon/StratoSDK

StratoSDK is a framework with a declarative approach similar to Flutter/React, written and designed entirely for Rust.

Rust/27.3 KB/No license
crates/strato-ui-renderer/src/fonts/mod.rs
1#[cfg(native)]
2#[cfg_attr(not(macos), allow(dead_code))]
3pub mod font_kit;
4 
5#[cfg(test)]
6#[path = "text_layout_test.rs"]
7mod text_layout_tests;
8 
9pub use strato_ui_core::fonts::*;
10 
11#[cfg(test)]
12pub(crate) use text_layout_tests::{collect_glyph_indices, init_fonts};
13 
14#[cfg(all(test, target_os = "macos"))]
15pub(crate) use text_layout_tests::collect_line_caret_position_starts;
16