Giter Club home page Giter Club logo

Comments (3)

13rac1 avatar 13rac1 commented on May 23, 2024

Thank you for the detailed bug report!

This is currently intentional. The glyphs were disabled in e1a34da for #40 [Linux] Inconsistently parsed fontconfig causes font selection problems (Help wanted!) If I revert the commit, then #35, #37, #39 and more will happen again.

from emojione-color-font.

kgizdov avatar kgizdov commented on May 23, 2024

Well, that's a good point, but #40 on my Arch looks like this and everything works fine.

❯ fc-match -s sans
Vera.ttf: "Bitstream Vera Sans" "Roman"
EmojiOneColor-SVGinOT.ttf: "EmojiOne Color" "Regular"
DejaVuSans.ttf: "DejaVu Sans" "Book"
DejaVuSans-Bold.ttf: "DejaVu Sans" "Bold"
DejaVuSans-Oblique.ttf: "DejaVu Sans" "Oblique"
DejaVuSans-BoldOblique.ttf: "DejaVu Sans" "Bold Oblique"
n019003l.pfb: "Nimbus Sans L" "Regular"
... etc

For #35, #37, #39, I'm really not sure why UTF-8 emoji glyphs would appear instead of numbers - those are separate symbols, I believe. Could this all be something else?

from emojione-color-font.

13rac1 avatar 13rac1 commented on May 23, 2024

The programs in those issues all implement their own fontconfig parsing, but as far as I understand, they don't follow the spec for prepend_first. You can see mpv's debug output here where it defaults to the incorrect default font: #37 (comment)

everything works fine.

Run Evolution, MPV or Steam with version 1.1 of the font and you can reproduce these issues.

I'm really not sure why UTF-8 emoji glyphs would appear instead of numbers - those are separate symbols, I believe.

These numpad emoji require font ligatures to work. Font ligatures only work if all glpyhs used to create the ligature are in the font. I need to have both the empty numpad emoji and a regular non-emoji number so they can be combined to create a numpad number.

Could this all be something else?

Yes, but this is so far the only solution in my tests on all three programs in two Linux distributions. I gladly accept a better solution though.

I've suggested a possible solution (or rather long term workaround for the MPV, Evolution, and Steam bugs) in #40 at: #40 (comment)

Let's move further discussion on this to #40. Thanks!

from emojione-color-font.

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.