diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/config | 12 | ||||
-rw-r--r-- | doc/tofi.5.md | 9 | ||||
-rw-r--r-- | doc/tofi.5.scd | 8 |
3 files changed, 28 insertions, 1 deletions
@@ -25,9 +25,19 @@ # Examples: # # font-features = "smcp, c2sc" (all small caps) - # font-features = "liga 0" (disable ligatures + # font-features = "liga 0" (disable ligatures) font-features = "" + # Comma separated list of OpenType font variation settings to apply + # to variable fonts. The format is similar to the CSS + # "font-variation-settings" property. + # + # Examples: + # + # font-variations = "wght 900" (Extra bold) + # font-variations = "wdth 25, slnt -10" (Narrow and slanted) + font-variations = "" + # Perform font hinting. Only applies when a path to a font has been # specified via `font`. Disabling font hinting speeds up text # rendering appreciably, but will likely look poor at small font pixel diff --git a/doc/tofi.5.md b/doc/tofi.5.md index dea750c..e5f947b 100644 --- a/doc/tofi.5.md +++ b/doc/tofi.5.md @@ -165,6 +165,15 @@ options. > > Default: "" +**font-variations**=*variations* + +> Comma separated list of OpenType font variation settings to apply. The +> format is similar to the CSS "font-variation-settings" property. For +> example, "wght 900" will set the weight of a variable font to 900 (if +> supported by the chosen font). +> +> Default: "" + **background-color**=*color* > Color of the background. See **COLORS** for more information. diff --git a/doc/tofi.5.scd b/doc/tofi.5.scd index 9ff7f3d..acdb16a 100644 --- a/doc/tofi.5.scd +++ b/doc/tofi.5.scd @@ -143,6 +143,14 @@ options. Default: "" +*font-variations*=_variations_ + Comma separated list of OpenType font variation settings to apply. The + format is similar to the CSS "font-variation-settings" property. For + example, "wght 900" will set the weight of a variable font to 900 (if + supported by the chosen font). + + Default: "" + *background-color*=_color_ Color of the background. See *COLORS* for more information. |