-
Notifications
You must be signed in to change notification settings - Fork 111
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
WIDE_GLYPH_SPACING_PATCH doesn't work properly #26
Comments
It probably doesn't work that well when fallback fonts are used. What font do you use with st? |
The only other alternative is to try and manually hack the Xft library ref. googlefonts/Inconsolata#42 (comment) |
static char *font = "Mono:pixelsize=20:antialias=true:autohint=true"; that'a the config line for fonts |
I guess the behaviour you are seeing is expected then. The The workaround artificially makes the spacing a third of what Xft says it is. Perhaps you were looking for the |
I've eneabled that but icons still aren't renderd normally |
Have you disabled |
Yes I've |
Are you sure that you have a font that is named just "Mono"? You can check what fonts you have using Otherwise it will fall back to using something from system configuration, possibly |
I've tried many fonts (some monospaced some not) still doesn't work. |
What exactly doesn't work? Have you tried a bare st from https://st.suckless.org/? |
The screenshot is the same as in the reddit post. What is this terminal application? The original patch assumed that the boxdraw patch is included, but quite strictly it shouldn't be necessary. You can of course try and enable |
I enabled the patch but still no change. Terminal app is nnn with icon flag enabled. If you're on an Arch based system package name is nnn-icons on AUR. |
OK, so I did a git clone of st-flexipatch, compiled and, ran st, started Showing cut-off icons as in your example. Enabling The patch worked fine for lsd for example when I originally tested this, but it clearly does not work for After some digging I found that the patch also relies on these changes, although it is not clear why exactly. I have integrated the above into the wide glyphs patch, can you give it another go and see if it works correctly for you now? According to LukeSmithxyz/st#224 (comment) there is also an issue where the wide glyphs patch can leave remnant data in the undrawable area when the anysize patch is used, possibly this could be solved by using a smaller font size for the fallback emoji font. |
Thans for your efforts but it didn't work. I cloned the repo from scratch and enabled |
When I set WIDE_GLYPH_SPACING_PATCH to 1 all characters intersect as it's shown on the screenshot below.
The text was updated successfully, but these errors were encountered: