GithubHelp home page GithubHelp logo

Comments (12)

13rac1 avatar 13rac1 commented on July 21, 2024

Hi! Are you running v1.0-beta2 or v1.0-beta3? The installation procedure has completely changed due to all of these programs incorrectly using the font fallback system.

Unless you are using v1.0-beta3, this is a duplicate of #5 and #18 which was fixed by #2 and #17.

from emojione-color-font.

gentakojima avatar gentakojima commented on July 21, 2024

Oops. Yes, you're right. I'm running v1.0-beta2 and this seems to be fixed in v1.0-beta3, indeed.

But beta3 broke the emojis for me on Ubuntu 14.04 (already installed it before, the console is there just for demonstration purposes).

captura de pantalla de 2016-03-21 18-24-17

from emojione-color-font.

13rac1 avatar 13rac1 commented on July 21, 2024

Well, that's why it's a beta, so I can break things! Haha!

I'm so sick of fighting fontconfig. I had no idea I'd spend so much time on it. Can you give me your output for:

$ fc-match -s sans | head -n 10
Vera.ttf: "Bitstream Vera Sans" "Roman"
EmojiOneColor-SVGinOT.ttf: "Emoji One 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"
Waree.ttf: "Waree" "Book"
DroidSansFallbackFull.ttf: "Droid Sans Fallback" "Regular"
KhmerOS.ttf: "Khmer OS" "Regular"
$ fc-match -s "Emoji One Color" | head -n 10
EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular"
Vera.ttf: "Bitstream Vera Sans" "Roman"
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"
Waree.ttf: "Waree" "Book"
DroidSansFallbackFull.ttf: "Droid Sans Fallback" "Regular"
KhmerOS.ttf: "Khmer OS" "Regular"

from emojione-color-font.

gentakojima avatar gentakojima commented on July 21, 2024

Here it is. Hope you can find something odd, because from what I understand, I can't.

$ fc-match -s sans | head -n 10
Vera.ttf: "Bitstream Vera Sans" "Roman"
EmojiOneColor-SVGinOT.ttf: "Emoji One 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"
Verdana.ttf: "Verdana" "Normal"
Arial.ttf: "Arial" "Normal"
n019003l.pfb: "Nimbus Sans L" "Regular"
Waree.ttf: "Waree" "Book"
$ fc-match -s "Emoji One Color" | head -n 10
EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular"
Vera.ttf: "Bitstream Vera Sans" "Roman"
DejaVuSans.ttf: "DejaVu Sans" "Book"
DejaVuSans-Bold.ttf: "DejaVu Sans" "Bold"
DejaVuSans-Oblique.ttf: "DejaVu Sans" "Oblique"
DejaVuSans-BoldOblique.ttf: "DejaVu Sans" "Bold Oblique"
Verdana.ttf: "Verdana" "Normal"
Arial.ttf: "Arial" "Normal"
n019003l.pfb: "Nimbus Sans L" "Regular"
Waree.ttf: "Waree" "Book"

from emojione-color-font.

13rac1 avatar 13rac1 commented on July 21, 2024

Yes, that's correct, I know it's hidden but can you post the specific font request also:
$ fc-match -s "Emoji One Color" | head -n 10

I assume you've tried restarting Firefox and X(aka logoff/login)? The computer doesn't need a complete restart, just gnome/unity/etc. What about Chrome? Is it using the correct b&w glyphs?

from emojione-color-font.

gentakojima avatar gentakojima commented on July 21, 2024

I've posted the other command also in a ninja edit some minutes ago.

Just restarted Firefox to make sure. I can't restart X right now, but beta 2 started working right away so I didn't think of doing that.

I'll try to restart X as soon as possible and report. Same for Chrome/Chromium, I don't use it so I'll have to install it.

from emojione-color-font.

13rac1 avatar 13rac1 commented on July 21, 2024

started working right away so I didn't think of doing that.

I've noticed in some of the massive number of times I've installed the font that character updates work correctly, but complete font changes don't. I technically renamed the font between beta2 and beta3 by fixing an oversight bug in SCFBuild. It was identified before as "Emoji One Color Regular", but now is correctly "Emoji One Color SVGinOT" I'm adding SVGinOT to the fullname to be clear about which color format is provided. I'm working on adding Apple's proprietary SBIX and the OpenType color bitmap format (Google's) to the build system too.

I don't use it so I'll have to install it.

You don't need to install Chrome. Just copy/paste some text into gedit or another text editor. Anything that'll use the b&w glyphs.

from emojione-color-font.

gentakojima avatar gentakojima commented on July 21, 2024

Ok, it seems the problem only affects Firefox. Gedit looks great (in b/w of course, but at least it's using the correct emojis).

captura de pantalla de 2016-03-21 23-05-07

Also, I've now restarted the system and the problem persists.

from emojione-color-font.

gentakojima avatar gentakojima commented on July 21, 2024

I confirm that using the 1.0-beta3 ttf file with the fontconfig conf file from 1.0-beta2 works as expected.

After replacing new fontconfig file, it only takes a few seconds for Firefox to stop displaying emojis correctly. Putting the old fontconfig file, makes it work properly again.

I understand the new approach, but it's not working for me, for some reason. It seems like emojis from DejaVu Sans and Symbola are taking precedence.

Fun enough, I tried this on a clean 16.04 machine and it worked properly. Don't know why. I'll try it again on another user profile on the same 14.04 machine tomorrow.

from emojione-color-font.

13rac1 avatar 13rac1 commented on July 21, 2024

The problem could be a Firefox regression found by @saltyhorse: #1 (comment)

It was a solution for me to "clear the firefox font cache":

I just noticed Firefox was still using DejaVu Sans as the source for some emoji even though my new fonts.conf has it far down the list. Setting gfx.font_rendering.fontconfig.fontlist.enabled to false and restarting fixed the problem. Setting it back to true kept the new internal font list, sort of a cache clear.

Direct link to Firefox Regression: https://bugzilla.mozilla.org/show_bug.cgi?id=1254245

from emojione-color-font.

gentakojima avatar gentakojima commented on July 21, 2024

Hey, you're right!

Thank you for the support, I hope this gets fixed soon on Firefox. Maybe you can add a warning on the README.md to avoid annoying people like me 💃

I can confirm MySQL Workbench also works properly now! 👯

from emojione-color-font.

13rac1 avatar 13rac1 commented on July 21, 2024

Awesome! You should/could add your specific experience to the Firefox bug report. It's caused by my font... again... haha, but your experience means far more people will encounter it.

I'll add a note about this to the readme after the GTK bug.

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.