Giter Site home page Giter Site logo

Comments (3)

Finii avatar Finii commented on June 5, 2024 1

I guess you should make the Font Awesome 4.0 icon file the prefereed one in your fontconfig.

If you use the eye-slash (F070) in some terminal or whatever:

  • If it's in the current font it will be used (e.g. DejaVu Nerd Font)
  • If it's not in the current font some other ('random') font that has a glyph at that codepoint is used
    That can be especially inconsistent (some apps using the Nerd Font, some the Font Awesome 4 font

maybe something like

<fontconfig>
  <alias>
    <family>DejaVuSansMono</family>
    <prefer><family>Font Awesome 4</family></prefer>
  </alias>
</fontconfig>

(Well, I do not know the family name of your FA-4 font.)

Edit:
Fontconfig conf is usually in /etc/fonts/conf.d/ I guess.

from nerd-fonts.

Finii avatar Finii commented on June 5, 2024

The video is indeed strange.

The difference seems to be that the glyph above is bold while the one you paste is regular.
In your terminal you can select different fonts for both.
If the glyph is in neither (you later say you have DejaVuSansMono for these, which will be DejaVuSansMono-Regular and DejaVuSansMono-Bold - two different fonts from a fontconfig point of view. Both do not have the glyph and for both some (random) substitution font is individually selected. And that is different. After a reboot that might change.

That should in principle we fixed by the fontconfig above. Just put that into some new text file in the mentioned directory and name the file like the others (number then some text and .conf).

Edit: Highlight 'individually'

from nerd-fonts.

anthony-S93 avatar anthony-S93 commented on June 5, 2024

I guess you should make the Font Awesome 4.0 icon file the prefereed one in your fontconfig.

If you use the eye-slash (F070) in some terminal or whatever:

* If it's in the current font it will be used (e.g. DejaVu Nerd Font)

* If it's not in the current font some other ('random') font that has a glyph at that codepoint is used
  That can be especially inconsistent (some apps using the Nerd Font, some the Font Awesome 4 font

maybe something like

<fontconfig>
  <alias>
    <family>DejaVuSansMono</family>
    <prefer><family>Font Awesome 4</family></prefer>
  </alias>
</fontconfig>

(Well, I do not know the family name of your FA-4 font.)

Edit: Fontconfig conf is usually in /etc/fonts/conf.d/ I guess.

Thank you for the response. It turns out that you are on the right track. Adding a font configuration does indeed resolve the issue.

from nerd-fonts.

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.