FortAwesome / Font-Awesome

The iconic SVG, font, and CSS toolkit
https://fontawesome.com
Other
73.67k stars 12.19k forks source link

Not all symbols are displayed in a Linux terminal at font size 12 #14139

Open bfrg opened 6 years ago

bfrg commented 6 years ago

Describe the problem

I'm on Gentoo Linux (Kernel version 4.18.8). When I set the font size to 12 in my terminal, some Font Awesome symbols are not displayed correctly. Instead I see boxes with the corresponding hex code inside. Here is an example: screenshot-size12

What did you expect?

When I change the font size to 11.9, symbols are displayed as expected: screenshot-size11 9

What version and implementation are you using?

Version: 5.4.1 otf

Tested with:

Reproducible test case

Test file:

firefox     f269: 
terminal    f120: 
code        f121: 
envelope    f0e0: 
paint-brush f1fc: 
file-word   f1c2: 

Either open the test file in gvim or print the file to standard output (using cat) in a terminal that supports Font Awesome symbols. This should work with any terminal that relies on pango. Change the font size to 11, 11.9, 12, 13 etc. The font itself doesn't matter since all applications rely on pango which looks for a fallback font when the current font doesn't provide a specific symbol.

I'm honestly not even sure if that's related to Font Awesome. But I haven't observed anything like that with other fonts before.

Bug report checklist

tagliala commented 6 years ago

Hi!

Thanks for being part of the Font Awesome Community.

Could you please provide more details?

Font Awesome version used (and type: otf/ttf), linux distribution (and version), terminal versions etc.

Please make sure that your request follows our bug report template

bfrg commented 6 years ago

Updated above. I'm not sure if you got a notification.

tagliala commented 6 years ago

Could you please try ad (f641) and address-card (f2bb)?

I suppose this has something to do with icon size.

If I'm correct, you should be able to see ad, but not address-card

bfrg commented 6 years ago

It's the other way around. I can't see ad (f641) at font size 12, but I can see address-card (f2bb). It's so funny. When I change the font size to 11.999 or 12.001 I can see both.

tagliala commented 6 years ago

🤷‍♂️