rocketsplash-rt 0.2.2

Runtime library for loading and rendering Rocketsplash assets (.rst, .rsf)
Documentation
// <FILE>crates/rocketsplash-rt/src/font/mod.rs</FILE>
// <DESC>Font loading and text rendering module</DESC>
// <VERS>VERSION: 1.2.0</VERS>
// <WCTX>Runtime library implementation</WCTX>
// <CLOG>Add shared glyph conversion helper for font loading</CLOG>

mod cls_font;
mod cls_text_builder;
mod fnc_align_offset;
mod fnc_convert_glyph;
mod fnc_load_font;
mod fnc_render_text;
mod fnc_resolve_glyph;
mod fnc_stamp_glyph;

pub use cls_font::*;
pub use cls_text_builder::*;
pub use fnc_load_font::*;
pub(crate) use fnc_render_text::*;

use crate::{Align, FallbackMode, TextStyle};

#[derive(Clone, Copy, Debug)]
pub(crate) struct RenderOptions {
    pub style: TextStyle,
    pub spacing: i8,
    pub align: Align,
    pub fallback: FallbackMode,
}

// <FILE>crates/rocketsplash-rt/src/font/mod.rs</FILE>
// <VERS>END OF VERSION: 1.2.0</VERS>