Skip to content
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

Font rendering: enable ligatures #71

Open
kenokenobingo opened this issue Jun 12, 2019 · 3 comments
Open

Font rendering: enable ligatures #71

kenokenobingo opened this issue Jun 12, 2019 · 3 comments

Comments

@kenokenobingo
Copy link

It’d be nice to have ligature support for fonts like Fira Code.

@neeasade
Copy link
Member

neeasade commented Jul 4, 2020

https://st.suckless.org/patches/ligatures/

@tynanbe
Copy link

tynanbe commented Dec 6, 2020

st.suckless.org/patches/ligatures

Here's a patch I made after combining st-ligatures-boxdraw-0.8.3 with st-ligatures-alpha-scrollback-0.8.3 and applying the changes to xst.

It appears that these highlighted lines in my gist were missing from PR #104, though I haven't tested whether their addition resolves the issues with boxdraw.

Anyone interested, please feel free to use the patch to create a new PR~

@tynanbe
Copy link

tynanbe commented Dec 11, 2020

Initial impressions are good; however, I have encountered an issue where many alpha characters overlap when using Victor Mono Nerd Font italic variants (cursive). I switched to a custom build of Iosevka anyway, but the problem should probably be looked at further; it could be a fault of the patch or it could be something wonky with that particular font. The symptom does not manifest without the patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants