Skip to content
This repository has been archived by the owner on Nov 10, 2018. It is now read-only.

Replacing existing characters on Ubuntu; Conky fonts turns to boxes, Firefox becomes serif #18

Closed
nshiff opened this issue Mar 14, 2016 · 4 comments

Comments

@nshiff
Copy link

nshiff commented Mar 14, 2016

Before

After

Firefox fonts changes take effect immediately after install. Conky happens after logging out and logging back in. I am running Ubuntu 14.04 with Cinnamon 2.8.6.

@13rac1
Copy link
Owner

13rac1 commented Mar 14, 2016

Thanks for making the issue!

This looks a whole lot like #1 for Firefox. It's closed, because there's nothing I can do (other than add it to the readme file of known issues.. which I need to do.)

As for Conky, what font do you have it set to? The font fallback system is what allows programs to specify a font, but still get characters (glyphs) from other fonts for languages such as Arabic and Chinese. Emoji One Color doesn't have any letter/number characters, so if the program doesn't know how to use the Linux font fallback system this sort of thing can/will happen. It should fall back to the next font in line, generally, DejaVu Sans when your application requests Sans-Serif. Some programs, like VLC #5, will only use that the selected font, so you need to specify a font.

This would absolutely be solved by the extreme solution in #17.

@13rac1
Copy link
Owner

13rac1 commented Mar 14, 2016

In the meantime, you can leave the font installed, but not install the fonts.conf. DejaVu Sans will take top priority, so you'll see it where ever it has a code point. Emoji One Color will cover everything else.

@13rac1 13rac1 removed the bug label Mar 14, 2016
13rac1 added a commit that referenced this issue Mar 17, 2016
The DejaVu font family is based on the Bitstream Vera font family to provide
greater unicode coverage. The only way to override the emoji it includes is
to make the emoji font the primary system font. This shouldn't be a problem,
but a number of programs do not correctly use font fallback resulting in font
rendering errors everywhere: #1, #5, #16, #18, #19.

This font.conf makes Bitstream Vera the default font for Serif, Sans-Serif,
and Monospace font requests since it does not contain any Unicode Emoji
characters. Emoji One Color font is the first fallback, followed by DejaVu
to provide everything else.

Test with:
fc-match -s serif
fc-match -s sans-serif
fc-match -s monospace

May be the solution for #17
@13rac1
Copy link
Owner

13rac1 commented Mar 17, 2016

Should be fixed by 24b6539

Additional options later.

@13rac1
Copy link
Owner

13rac1 commented Mar 26, 2016

@nshiff Did beta3 work for you?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants