Coder Social home page Coder Social logo

Comments (7)

13rac1 avatar 13rac1 commented on May 29, 2024 1

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.

from emojione-color-font.

13rac1 avatar 13rac1 commented on May 29, 2024

You're welcome! 😄 It's been a lot of work and I've learned a lot.

Oh fontconfig is so much fun! 🎉

I'm running MATE with a theme and it is using the correct font for the Firefox UI. That's my excuse for not noticing it! :) I just confirmed, it's fine in my Fedora VM also. I haven't tried it in the newest Ubuntu though.

The fonts.conf in the readme adds Emoji One Color to the sans-serif, serif and monospace lists separately, which as I understand, shouldn't change the overall font used. The font contains no letter glyphs, so the next font in the list should be used. Can you give me the list of fallback fonts for sans-serif?

Here's how to do it and the first few entries in my list are:

user@server ~ $ fc-match -s sans-serif
EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "SVGinOT"
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"
MuktiNarrow.ttf: "Mukti Narrow" "Regular"
NanumGothic.ttf: "NanumGothic" "Regular"
lohit_bn.ttf: "Lohit Bengali" "Regular"
lohit_gu.ttf: "Lohit Gujarati" "Regular"
lohit_pa.ttf: "Lohit Punjabi" "Regular"
lohit_ta.ttf: "Lohit Tamil" "Regular"
Meera_04.ttf: "Meera" "Regular"
lklug.ttf: "LKLUG" "Regular"

I had to have Emoji One Color before DejaVu since DejaVu provides a number of B&W emoji glyphs.

from emojione-color-font.

edent avatar edent commented on May 29, 2024

Aha! I am also running MATE. Love that Cinnamon taste.

For future adventurers, I went to System Settings -> Fonts -> Default font. Then selected "Ubuntu 10".

All looking good, and no need to fiddle with command lines or config files.

from emojione-color-font.

13rac1 avatar 13rac1 commented on May 29, 2024

Ok! Great! Let me know if you see anything else that needs work 👍

from emojione-color-font.

valpackett avatar valpackett commented on May 29, 2024

For people who don't use desktop environments: this means setting your GTK font to your preferred font, not "sans-serif"

from emojione-color-font.

13rac1 avatar 13rac1 commented on May 29, 2024

@myfreeweb 👍 Thanks!

from emojione-color-font.

salty-horse avatar salty-horse commented on May 29, 2024

I think you're describing the same bug as mine, which is a regression in Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1254245

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.