defaultFontIndex>= v1.0.26
constdefaultFontIndex:DefaultFontIndex
The default font index that is part of the Document Authoring SDK bundle. Add it to
FontConfig.fonts to make the bundled fonts available.
The SDK ships two groups of fonts. Where a font is a metric-compatible substitute for a common proprietary font (same glyph advances, so lines and pages break the same way), that is noted alongside it.
Core fonts — always available, no configuration required:
- Caladea (metric-compatible with Cambria)
- Carlito (metric-compatible with Calibri)
- Noto Color Emoji
- Noto Sans
- Noto Sans Arabic
- Noto Sans HK
- Noto Sans JP
- Noto Sans KR
- Noto Sans Mono
- Noto Sans SC
- Noto Sans Symbols
- Noto Sans Symbols 2
- Noto Sans TC
- Noto Serif
Extended fonts — added when this defaultFontIndex entry is listed in
FontConfig.fonts:
- Amiri
- Arimo (metric-compatible with Arial)
- Bitstream Charter
- Comic Neue
- Courier Prime
- Cousine (metric-compatible with Courier New)
- DejaVu Sans
- DejaVu Sans Mono
- DejaVu Serif
- Gelasio (metric-compatible with Georgia)
- Gentium Book Plus
- Gentium Plus
- Liberation Mono
- Liberation Sans
- Liberation Serif
- Tinos (metric-compatible with Times New Roman)
To use a font that is not in this list (for example Nunito), bundle it yourself with a
FontFile entry or a custom FontIndex. See FontConfig for
how to customize the set of fonts used by the SDK.