summaryrefslogtreecommitdiff
path: root/doc/config
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-11-20 23:50:21 +0000
committerPhil Jones <philj56@gmail.com>2022-11-21 00:11:49 +0000
commit8ff917954773b293276c2eda31959acbecdc2421 (patch)
tree8ddbb35065032831faa0153a8a8fb25c4fd56137 /doc/config
parent8fb1b007ebe93efb6bf6d928edfd235b086ed199 (diff)
Add --font-variations option.
Diffstat (limited to 'doc/config')
-rw-r--r--doc/config12
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/config b/doc/config
index ae1e653..3e28eac 100644
--- a/doc/config
+++ b/doc/config
@@ -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