|
pulsatrix 1.1.0
|
Fonts for the ImGui windows that cover every script: the default font first, then system fonts merged in as fallbacks, so text in any language and emoji show instead of "?". More...
#include <string>#include <vector>

Go to the source code of this file.
Classes | |
| struct | pulsatrix::VizFontFile |
A font file, and the face to use when it holds several (.ttc). More... | |
| struct | pulsatrix::VizFontOptions |
| Which fonts a VizWindow loads. More... | |
Namespaces | |
| namespace | pulsatrix |
Functions | |
| std::vector< VizFontFile > | pulsatrix::FindFallbackFonts () |
| The system fonts that together cover as many scripts as this machine has fonts for, best first. | |
| VizFontOptions | pulsatrix::DefaultVizFontOptions () |
| The font options a VizWindow uses when given none. With the environment variable PULSATRIX_VIZ_FONTS set to font paths (separated by ';', or ':' outside Windows), those fonts come first. Set to "none", only ImGui's default font is used. | |
| std::vector< VizFontFile > | pulsatrix::LoadVizFonts (const VizFontOptions &options) |
Loads ImGui's default font and merges options' fonts into it, in the current ImGui context. Since ImGui 1.92 glyphs are drawn on first use, so a merged font costs only its file in memory. | |
| bool | pulsatrix::VizFontsUseFreeType () |
| Whether this build's ImGui uses FreeType (color emoji) rather than stb_truetype. | |
Fonts for the ImGui windows that cover every script: the default font first, then system fonts merged in as fallbacks, so text in any language and emoji show instead of "?".