Skip to content
Snippets Groups Projects
Unverified Commit 84cdd3ef authored by ActuallyHappening's avatar ActuallyHappening Committed by GitHub
Browse files

doc: `CosmicFontConfig`.load_system_fonts (#139)

parent 97517dcc
No related branches found
No related tags found
No related merge requests found
...@@ -156,7 +156,9 @@ pub struct CosmicPrimaryCamera; ...@@ -156,7 +156,9 @@ pub struct CosmicPrimaryCamera;
pub struct CosmicFontConfig { pub struct CosmicFontConfig {
pub fonts_dir_path: Option<PathBuf>, pub fonts_dir_path: Option<PathBuf>,
pub font_bytes: Option<Vec<&'static [u8]>>, pub font_bytes: Option<Vec<&'static [u8]>>,
pub load_system_fonts: bool, // caution: this can be relatively slow /// If [false], some characters (esspecially Unicode emojies) might not load properly
/// Caution: this can be relatively slow
pub load_system_fonts: bool,
} }
impl Default for CosmicFontConfig { impl Default for CosmicFontConfig {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment