aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-05-31 15:10:05 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-06-01 15:51:09 +0000
commit4c954be7a6d86b21da512fc533eb3362ac737221 (patch)
treeee27fc9e3705fe75355a5d08c6450a552b5efeca /doc
parentMerge branch 'selection-recognizes-hard-linebreaks' (diff)
config: add boolean option tweak.pua-double-width
When enabled, PUA (Private Usage Area) codepoints are always treated as double-width glyphs, regardless of the actual glyph width. Requires allow-overflowing-double-width-glyphs=yes
Diffstat (limited to 'doc')
-rw-r--r--doc/foot.ini.5.scd14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd
index d9b61c39..e434c84b 100644
--- a/doc/foot.ini.5.scd
+++ b/doc/foot.ini.5.scd
@@ -826,7 +826,7 @@ any of these options.
Default: _lanczos3_.
*allow-overflowing-double-width-glyphs*
- Boolean. when enabled, double width glyphs with a character width
+ Boolean. When enabled, double width glyphs with a character width
of 1 are allowed to overflow into the neighbouring cell.
One use case for this is fonts "icon" characters in the Unicode
@@ -839,8 +839,20 @@ any of these options.
Note: this feature uses _heuristics_ to determine *which* glyphs
should be allowed to overflow.
+ See also: *pua-double-width*
+
Default: _yes_.
+*pua-double-width*
+ Boolean. When enabled, Unicode code points from the private usage
+ area (PUA) are always considered to be double width, regardless of
+ the actual glyph width.
+
+ Ignored if *allow-overflowing-double-width-glyphs* has been
+ disabled.
+
+ Default: _no_.
+
*render-timer*
Enables a frame rendering timer, that prints the time it takes to
render each frame, in microseconds, either on-screen, to stderr,