mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-07 04:34:03 -05:00
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:
parent
d458d46f81
commit
4c954be7a6
5 changed files with 35 additions and 8 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue