Difference between revisions of "FontsWML"
From The Battle for Wesnoth Wiki
(And a little more...) |
(→the toplevel [fonts] tag: Update outdated data) |
||
Line 5: | Line 5: | ||
The '''[fonts]''' tag describes fonts which are distributed with the game. Each font must be declared here to be used by the game. | The '''[fonts]''' tag describes fonts which are distributed with the game. Each font must be declared here to be used by the game. | ||
− | + | Each of these could be a comma separated list of fonts, which will be passed verbatim to Pango. These are applied in left-to-right order, that is, the first font that exists starting from the left will be used. | |
− | * ''' | + | * '''family_order''': (translatable) The default font(s). |
− | * ''' | + | * '''family_order_light''': (translatable) The default light weight font(s). |
− | + | * '''family_order_monospace''': (translatable) The default monospace font(s). | |
− | + | * '''family_order_script''' : (translatable) The default script font(s). | |
== See Also == | == See Also == |
Latest revision as of 12:44, 23 July 2024
the toplevel [fonts] tag
The [fonts] tag describes fonts which are distributed with the game. Each font must be declared here to be used by the game.
Each of these could be a comma separated list of fonts, which will be passed verbatim to Pango. These are applied in left-to-right order, that is, the first font that exists starting from the left will be used.
- family_order: (translatable) The default font(s).
- family_order_light: (translatable) The default light weight font(s).
- family_order_monospace: (translatable) The default monospace font(s).
- family_order_script : (translatable) The default script font(s).
See Also
This page was last edited on 23 July 2024, at 12:44.