How does one find which font kitty is using to render a particular character? #3972
-
I'm trying to symbol map a few Unicode characters to a font that has edited versions of it for use in a particular program (ncmpcpp) but while the edited characters show up in their edited form in other applications (GIMP, Charmap, etc), kitty still renders them as they were prior to editing and I'm not sure where it is getting them from. The characters in question are: U+2588, U+E0B6 and U+E0B4. I've edited them to be half of their height so that I can use them as progressbar characters in ncmpcpp. Here is how the characters (left-most and right-most) show up in Charmap: Here is however how they are being rendered in kitty: The fourth character is the cursor for reference that they are still full height even though Charmap shows them as being half the height. This is the case irrespective of whether these particular characters are symbol mapped to the font or the font is set as the default font family itself. How can I go about debugging it? Running
VictorMonoNerdFontComplete is the edited font and if I'm reading that output right, it's the only font being used for any characters being rendered, correct? So I'm confused about where the full height characters for those particular characters are coming from. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
kitty draws all box drawing characters programmatically, not from fonts, to guarantee they always align with cell edges. You cannot control how they are rendered. |
Beta Was this translation helpful? Give feedback.
-
Tried two different browsers but still not able to mark your reply as the answer. Can you please do it? |
Beta Was this translation helpful? Give feedback.
-
On Sun, Aug 29, 2021 at 04:29:31AM -0700, Lokesh Krishna wrote:
Tried two different browsers but still not able to mark your reply as the answer. Can you please do it?
I believe github only lets one mark the top level reply as the answer.
|
Beta Was this translation helpful? Give feedback.
kitty draws all box drawing characters programmatically, not from fonts, to guarantee they always align with cell edges. You cannot control how they are rendered.