Giter Club home page Giter Club logo

Comments (9)

pree avatar pree commented on August 20, 2024 75

Found a Topic on the Archlinux Forums about this: https://bbs.archlinux.org/viewtopic.php?id=233098

Uninstalling ttf-font-awesome and installing otf-font-awesome worked for me.

from i3blocks.

0x6C38 avatar 0x6C38 commented on August 20, 2024

Same issue after update

from i3blocks.

Anachron avatar Anachron commented on August 20, 2024

That's weird, does "fp-cache -f" do any change? (run as admin)

from i3blocks.

YodaEmbedding avatar YodaEmbedding commented on August 20, 2024

sudo fc-cache -f doesn't seem to have any effect.

from i3blocks.

Anachron avatar Anachron commented on August 20, 2024

The weird thing is I cannot reproduce this on Void Linux (glibc).
If you specify two fonts (fallback font like "Ubuntu Mono, Source Code Pro" or alike), does the problem still appear?

from i3blocks.

YodaEmbedding avatar YodaEmbedding commented on August 20, 2024

I tried the following i3config configurations:

font pango:FontAwesome, pango:Roboto Mono 10
font pango:Roboto Mono, pango:FontAwesome 10

But none of them fixed this issue. I am using the i3-wm and i3blocks packages for Arch.

from i3blocks.

chrisdruta avatar chrisdruta commented on August 20, 2024

Find a solution yet? I'm running i3-gaps with i3blocks on arch as well.

from i3blocks.

Anachron avatar Anachron commented on August 20, 2024

I saw issues like this on the font-awesome repo issues. Can you report upstream?

from i3blocks.

YodaEmbedding avatar YodaEmbedding commented on August 20, 2024

This issue can be closed. (Though, I suppose for now that it might be better to leave open for visibility.)

Quoting @ael:

The bug is actually related to Pango. In fact i3wm use Pango to render text. The problem is that Pango does not correctly fallback to another font to render the space character U+0020 [1][2]. The new ttf Font Awesome 5 fonts do not provide anymore a space character, thus using a space after a proper Font Awesome char trigger the Pango bad behavior.

If you have ttf-fontawesome-5 installed you can reproduce the problem with:
pango-view -t ' A ' --font "pango:Font Awesome 5 Free"

You will see that the space after the bike (U+F206) is not correctly rendered while the space after the A letter is properly rendered.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=775202
[2] https://bugzilla.gnome.org/show_bug.cgi?id=780068

from i3blocks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.