-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Option for displaying nerd font icons in full width with the mono variants #285
Comments
This is a very good idea! I think it solves brillantly this "micro-icons" issue. |
Thanks for the quick reply!
Not that I can think of, although I don't use PragmataPro normally in an IDE. On the topic of full-width icons, maybe this is also a good chance to tune their sizing and spacing a bit. |
You've right, at least the width of these icons must be constistent. |
This solution is clever, but personally I would rather just have the full-width icons in PragmataPro Mono. I don't want to use the rest of the ligatures, and the condensed icons are simply too small to be usable. Alternatively, perhaps the ligature full-width icons could be added to PragmataPro Mono, still keeping PragmataPro Mono Liga separate for those who want the full set of ligatures. |
I came here to open an issue about this, but I found that my issue was referenced from the Kitty terminal repo, my way to solve this was adding an extra space and use So now I had to go back to |
Glad to see nerd font icons are added natively in 0.830, and those icons are scaled down to fit the width constraint of the mono variants.
Although I understand the logic behind this decision, they are still visually unpleasant in many cases and leads to confusions like #274.
Related to this issue, I notice the kitty terminal has implemented a nice technique here.
Using the snowflake emoji as an example, when showing by itself as
❄
, a strictly half-width glyph is used, and when followed by a space❄
, a full-width glyph is displayed.I think a similar trick can be implemented in PragmataPro Mono Liga using ligature (?) to show nerd font icons as half-width by default, and display their full-width version when followed by a space.
I would argue that this works well visually in almost all cases, and solves the problem without introducing yet another PragmataPro Mono variant but with full-width icons.
That said, I have no idea how feasible can this be implemented on the font level.
The text was updated successfully, but these errors were encountered: