Difference between revisions of "FontsWML"
From The Battle for Wesnoth Wiki
(→the toplevel [fonts] tag: Update outdated data) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{WML Tags}} | ||
== the toplevel [fonts] tag == | == the toplevel [fonts] tag == | ||
− | The [fonts] tag describes fonts which are distributed | + | The '''[fonts]''' tag describes fonts which are distributed with the game. Each font must be declared here to be used by the game. |
− | 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.