pub fn write_font_system() -> RwLockWriteGuard<'static, FontSystem>
Expand description
It costs a lot to create a glyphon font system, so we use a static one to share it every where and avoid creating it multiple times. This function returns a write lock of the font system.