-
Notifications
You must be signed in to change notification settings - Fork 154
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
Incorrectly rendered ligatures with Fira Code #684
Comments
Or, maybe, a bug in Fira Code. If it works fine in all non-Qt terminal emulators, that doesn't show the bug is in Qt or Konsole or QTerminal. For example, I remember a "monospace" font (but don't remember its name) which was correctly detected as non-monospace by Qt but not by GTK (or its specialized libraries). |
Any idea on how we can debug and identify where the bug is? I am pretty new to ligatures. |
Then you know more than I do ;) I just played with characters: |
This shows how reliable QTerminal's rendering is (but doesn't disprove your report): Taken from http://xahlee.info/comp/unicode_drawing_shapes.html |
I installed Fira Code from the Arch Linux official package [1], and make qterminal to use that by modifying
And the original example works fine Combining other examples provided by @tsujan, I consider your issue is from somewhere other than qterminal. I'm sorry I cannot help on debugging as I'm not familiar with ligatures. You may get better help from Arch Linux forums. If in the end you find out the issue is indeed from qterminal, feel free to leave a comment here and I will reopen the issue. [1] https://www.archlinux.org/packages/community/any/ttf-fira-code/ |
Thank you @yan12125 , that info is very helpful. |
Expected Behavior
Long ligatures should render properly. As an example, this is the expected behavior when rendering an ASCII progress bar with Fira Code.
Current Behavior
Currently QTerminal (and Konsole) render it wrong.
Possible Solution
Steps to Reproduce (for bugs)
echo '4ce9f247a3c6: Loading layer [==================================================>] 49.66MB/49.66MB'
Context
This bugs makes progress bars and long ligature glyphs render very badly (specially on programs that use them for dynamically display information).
System Information
Additional notes
The text was updated successfully, but these errors were encountered: