From 4c954be7a6d86b21da512fc533eb3362ac737221 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 31 May 2021 17:10:05 +0200 Subject: 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 --- doc/foot.ini.5.scd | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'doc') 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, -- cgit v1.3