microsoft / cascadia-code

This is a fun, new monospaced font that includes programming ligatures and is designed to enhance the modern look and feel of the Windows Terminal.
Other
25.1k stars 793 forks source link

Nerd fonts icons got smaller after most recent update #730

Closed jasursadikov closed 2 months ago

jasursadikov commented 2 months ago

Cascadia family version

2404.23-1

Cascadia family variant(s)

Cascadia Code (the version with ligatures)

Font file format(s)

.otf (static)

Platform

ArchLinux

Other Software

GNOME Terminal

What happened?

I am not sure where I should pull this out, here or in nerd-fonts repo, but icons got smaller on the most recent otf font update. otf-cascadia-code (2111.01-2 -> 2404.23-1) image That was overlapping before

aaronbell commented 2 months ago

They all fit within the mono width space, as intended. I don’t see the problem here.

jasursadikov commented 2 months ago

@aaronbell they do, but they got shrinked down, they were much larger before latest update. Before: image After: image

aaronbell commented 2 months ago

I don’t think that glyph was previously natively supported by Cascadia Code. Are you thinking of one of the alternate versions? I am not using the method of adding the glyphs as provided by the NF repository so there may be some differences.

jasursadikov commented 2 months ago

@aaronbell I guess it is a custom one, I am not sure how does it work, if it fallbacks to original cascadia or other way around. But this has happened right after the update.

otf-cascadia-code 2404.23-1
ttf-cascadia-code-nerd 3.2.1-1
justbispo commented 2 months ago

I'm also using the same system as @jasursadikov but I've tried two other terminal emulators, Kitty and Alacritty.

Before the last Cascadia Code update I was using the ttf-cascadia-code-nerd package, which includes the patched Cascadia Code font from Nerd Fonts. Kitty doesn't require a patched font, it only needs the symbols font (ttf-nerd-fonts-symbols).

After updating and removing the old Nerd Font font, both terminal emulators show the symbols small compared to before.

Before update, using old Nerd Font font: before

After update, removed old Nerd Font font: after

I don't know much about how font patching works but this comment should explain a little bit. The non-mono font from Nerd Font, which is the one I used, makes the symbols be 2 cells wide. It seems the non-mono version from the new update uses the symbols in a similar way as the mono version.

aaronbell commented 2 months ago

We don't currently support the three variant approach described in the linked comment. I'm aware of that desire, but this initial release is just mono width. Thus, the icons are within a single cell block.

justbispo commented 2 months ago

Alright, I'm glad to know it's not a bug. Do you know if another variant is planned for future releases?

aaronbell commented 2 months ago

It is on my list of things I want to implement. :)

jasursadikov commented 2 months ago

Offtopic, but @justbispo can you share your neofetch config? :D

@justbispo also, let me know, if you found a solution

justbispo commented 2 months ago

Offtopic, but @justbispo can you share your neofetch config? :D

Sure, here. I'm using fastfetch instead tho, since neofetch just got archived and is slower.

@justbispo also, let me know, if you found a solution

For the time being, I made pacman ignore any updates to ttf-cascadia-code and kept ttf-cascadia-code-nerd installed. Not the ideal but works for me.

dhruvkb commented 1 month ago

It is on my list of things I want to implement. :)

Eagerly looking forward to a double-width Nerd font version. Is there an issue that I can subscribe to so that I'm alerted when that variant is launched?