From 8ff917954773b293276c2eda31959acbecdc2421 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Sun, 20 Nov 2022 23:50:21 +0000 Subject: Add --font-variations option. --- doc/config | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'doc/config') 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 -- cgit v1.2.3