-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with texture healing with 'w' #279
Comments
Hi, thanks for noting this! I'll look into what could be causing this before the next release. |
The negative side bearings are intentional in texture healing. The IDE actually clipping anything that falls outside the LSB and RSB is not an intended text rendering behavior. As far as I know this is an issue with the rendering choices of the IDE, not the Monaspace fonts. |
@Finii true, but in the screenshots in Kitty above, it's actually a |
@rileycran Yes the font is perfect within font specs. On the other hand I believe there are other clients with "hand written" renderers out there that all have individual limitations. @heathercran One common limitation is to not-allow negative lsb. Often they allow negative rsb. (I believe. I think Kitty's behavior with negative rsb also depends if there is any glyph on the right side that is not blank 🙄) And yes, Kitty (i.e. Kovid Goyal) definitively has strong opinions on how a font must look like; had more than one discussion with Kovid. His decisions are well founded and have good reasons, for his use case and assumptions. I do not know the real limitations and never looked into the code. But at some point you must decide if you want to support / look good on Kitty or not. Typical behaviour? Well, I personally hate clients that limit the expressiveness of fonts and a lot clients are unproblematic because they use the system's font renderer. But "fast" seems to be a must, and so there are some specialized clients, that might (or might not) be worth checking. I at some point carved in and installed them all. Maybe you want to slim those few glyphs that leave their 'cell' down a bit, to better support those hardware accelerated GPU based clients, or maybe not.
Very biased and just personal list of terminals, please do not get mad if your 'the best terminal' is not listed List of 56 glyphs with LSB < -20 and > -600 (or something, just filtered with grep) in the details.
P.S. Yes, #222, Kitty shrinks 'too big' glyphs down, not even keeping them centered, to fulfil the 'one cell one glyph' promise. I feel this is problematic if you want some overlap to avoid gaps in structures that should continue from cell to cell, like continuous arrows, box drawing glyphs, or powerline symbols. That makes me being very careful with overlap (i.e. negative bearings); I do not even know if kitty has any allowed margin. Edit:
Well, it's so easy, embarrassingly easy... List view, sort by lsb... ![]() |
The
w
letter looks cutoff when preceded by an underscore or a dot. See thetab_bar_margin_width
string.Texture healing off (kitty term):
Texture healing on (kitty term):
w

W

There are similar issues with the sequence
(m
in italic too.Is that by design or a bug?
The text was updated successfully, but these errors were encountered: