| Did you know ... | Search Documentation: |
| font.pango_families |
mono,
sans and serif. xpce fonts name a generic
family rather than an installed font, such that applications look
reasonable on any system. This setting maps each generic family to a
family known to Pango, the library xpce uses to render text. The value
is a list of Generic := Family, where Family is the name of
an installed font family or a comma-separated list of families that are
tried in order. For example, to use Fira Code for all monospaced
text if it is installed:
font.pango_families: [ mono := 'Fira Code,monospace' ]
A family that you leave out keeps its built-in value, which depends
on the operating system. The legacy names screen,
helvetica and times follow mono, sans
and serif. Characters that the selected family does not
provide, such as emoji or other scripts, are taken from other installed
fonts.
The Text tab of the preferences editor, which is
Settings/Edit GUI preferences in the IDE, offers the installed
families, each shown in its own font. After changing it at runtime, send
display_manager->fonts_changed;
the preferences editor does this for you.