read_font_system

Function read_font_system 

Source
pub fn read_font_system() -> RwLockReadGuard<'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 read lock of the font system.