summaryrefslogtreecommitdiff
path: root/doc/config
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-11-20 18:51:26 +0000
committerPhil Jones <philj56@gmail.com>2022-11-20 18:51:26 +0000
commit8fb1b007ebe93efb6bf6d928edfd235b086ed199 (patch)
tree3baaca8f535f831d4ca1e7b25b72507e882d40ef /doc/config
parentcd424929714021de0186d40154cbf56ff6b5d423 (diff)
Add --font-features option.
Diffstat (limited to 'doc/config')
-rw-r--r--doc/config10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/config b/doc/config
index c68dae7..ae1e653 100644
--- a/doc/config
+++ b/doc/config
@@ -18,6 +18,16 @@
# Point size of text.
font-size = 24
+ # Comma separated list of OpenType font feature settings to apply,
+ # if supported by the chosen font. The format is similar to the CSS
+ # "font-feature-settings" property.
+ #
+ # Examples:
+ #
+ # font-features = "smcp, c2sc" (all small caps)
+ # font-features = "liga 0" (disable ligatures
+ font-features = ""
+
# 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