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

Overlapping text in some applications #19

Closed
tatokis opened this issue Mar 14, 2016 · 5 comments
Closed

Overlapping text in some applications #19

tatokis opened this issue Mar 14, 2016 · 5 comments

Comments

@tatokis
Copy link

tatokis commented Mar 14, 2016

First of all, I would like to congratulate you on your hard work. It's great to finally see proper emojis on linux.

After installing the font, there is some overlapping text on applications such as Liferea and Geary.
3bb777f7eb65

System is Ubuntu 15.10, Unity 7.3.3 with Ambiance, and according to screenfetch, the (default?) font
is Ubuntu 11. It also happens on AwesomeWM running on a separate X display.

60cca2e1b744

Font was installed in ~/.local/share/fonts automatically using the built in font viewer, and the config was copied from the OMG! Ubuntu! article.

Apologies if this has been reported before, I couldn't any issues related to mine while going through existing ones.

@13rac1
Copy link
Owner

13rac1 commented Mar 14, 2016

Thanks a lot!

This is a separate issue, but clearly related to #2. First thing, remove the fonts.config. That'll fix the main problem. You'll find DejaVu Sans takes precedence, but the spaces should all be correct.

Edit: More details later, just didn't want to leave you hanging. :D

@13rac1
Copy link
Owner

13rac1 commented Mar 15, 2016

Short term I am going to release two versions of the font for linux. One with a sans-serif and serif space width and the other with a monospace space width. Total waste of 6MB for few bytes difference. Long term the fix is: #17 Please let me know if you have any other ideas, thank you!

@13rac1
Copy link
Owner

13rac1 commented Mar 15, 2016

Oh, I forgot about this: #2 (comment) It's absolutely the same issue. Please follow that one and you'll be notified when I fix it.

@13rac1 13rac1 closed this as completed Mar 15, 2016
@tatokis
Copy link
Author

tatokis commented Mar 15, 2016

Alright, thanks a lot!

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

@tatokis I determined changing the default font from DejaVu to Bitstream Vera then making Emoji One Color secondary solves all of these font rendering issues. Bitstream Vera doesn't have all of the extra characters to override. Please try it out: 24b6539 It's a much better solution than forking DejaVu. There's a few issues with Noto, but I'd like to make it an option also.

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