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.39k stars 803 forks source link

Eclipse code mining: garbled text #506

Closed calle2010 closed 3 years ago

calle2010 commented 3 years ago

Cascadia family version

2102.025 2105.024

Cascadia family variant(s)

Cascadia Code (the version with ligatures)

Font file format(s)

Windows Terminal included version (TTF (variable)) (2102.025) TTF variable as downloaded from GitHub (2105.024)

Platform

Windows 10

Other Software

Eclipse 2021-03 (4.19.0)

What happened?

In Eclipse IDE code mining is rendered with wrong characters: image The text should say "2 implementations".

With other fonts I don't see this issue, e. g. Consolas: image

I see the issue with Cascadia Code and Cascadia Mono. It works fine with Cascadia Code PL and Cascadia Mono PL in older versions (sorry, unknown how old since I uninstalled them, but they didn't have italics).

calle2010 commented 3 years ago

In an attempt to fix this by installing the latest versions (2105.24) I now have the issue with Cascadia Code PL as well. I noticed I had old versions of Cascadia Code PL installed that didn't have italics yet.

calle2010 commented 3 years ago

I don't see the issue with Cascadia Code 2102.03: image

aaronbell commented 3 years ago

This sort of thing is usually caused by the system not being able to locate the font file as it expects to. And there has been some reworking of the internal name table to account for the addition of the italic variant, so that might be what is going on.

I’d suggest uninstalling all versions of the font, restarting your computer, and reinstalling the latest variable font version.

if that doesn’t work, you may need to clear the font cache

aaronbell commented 3 years ago

Hi! Not sure if you're still having troubles, but please try the new release and let me know if it resolves your issues. Thanks!

https://github.com/microsoft/cascadia-code/releases/tag/v2106.17