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
This commit is contained in:
Daniel Eklöf 2021-05-31 17:10:05 +02:00
parent d458d46f81
commit 4c954be7a6
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 35 additions and 8 deletions

View file

@ -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,