MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / GetGlyphRanges

Function GetGlyphRanges

TheForceEngine/TFE_A11y/accessibility.cpp:151–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149 bool isFontLoaded() { return s_currentCaptionFont != nullptr && s_currentCaptionFont->IsLoaded(); }
150
151 const ImWchar* GetGlyphRanges()
152 {
153 static const ImWchar ranges[] =
154 {
155 0x0020, 0xEEFF, // All glyphs in font
156 0,
157 };
158 return &ranges[0];
159 }
160
161 // Get all font file names from the Fonts directories; we will use this to populate the
162 // dropdown in the Accessibility settings menu.

Callers 1

loadFontFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected