View previous topic :: View next topic |
Author |
Message |
papandreoos Apprentice
Joined: 17 Dec 2014 Posts: 163
|
Posted: Tue Dec 05, 2017 11:54 am Post subject: Google Chrome - some characters are not displaying right. |
|
|
[EDIT]: i'm on gnome 3.24, but i didn't install all gnome packages.
i just chose the desktop gnome profile and then emerge to update my system.[/EDIT]
i'm on latest google chrome beta.
i also have archlinux and there, there is also the latest beta but everything works great.
the problem is in my gentoo exclusively
also, in firefox on my gentoo everything works great, so it's chrome problem alone (i think).
and here are two example.
one from tomshardware.
this is how i see the line in this page with google chrome:
https://i.imgur.com/OTxicab.png
there is empty space there.
if i mark the text with the mouse i can now see the text:
https://i.imgur.com/Bn8OFbI.png
here is a example from github:
without the mouse mark:
https://i.imgur.com/cw2GG3H.png
and now with the mark:
https://i.imgur.com/97BC9zP.png
i tried to remove chrome including the ~/.config chrome folder (and of course installed it again)
i also reset the browser from within (it has that option).
nothing solving this. |
|
Back to top |
|
|
papandreoos Apprentice
Joined: 17 Dec 2014 Posts: 163
|
Posted: Mon Dec 25, 2017 7:54 pm Post subject: |
|
|
i found the problem and fixed it.
but now i have just black emojis, and no color one's.
for example here:
getemoji.com
all the emojis are black and white.
no color at all.
i remember that sometime ago i changed
Code: | /etc/fonts/local.conf |
and add to it:
Code: | <?xml version="1.0" ?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="scan">
<test name="family">
<string>Noto Color Emoji</string>
</test>
<edit name="scalable" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="pattern">
<test name="prgname">
<string>chrome</string>
</test>
<edit name="family" mode="prepend_first">
<string>Noto Color Emoji</string>
</edit>
</match>
</fontconfig>
|
and after restart i got color emojis in chrome but apparently messed those web pages (in my first post).
after i commented out this config the problem in those websites was gone but as i said, now i don't have color emojis in chrome.
(in firefox i have).
so how can i get color emojis in chrome?
i'm on latest gnome (3.24). |
|
Back to top |
|
|
dantrell l33t
Joined: 01 Jun 2007 Posts: 915 Location: Earth
|
Posted: Tue Dec 26, 2017 10:37 am Post subject: |
|
|
papandreoos wrote: | so how can i get color emojis in chrome? |
I wrote a detailed answer here a while ago:
dantrell wrote: | So basically to get color emojis, your fontconfig file should force Chromium based browsers to use Noto Color Emoji (or whatever else you prefer) and force Firefox to use EmojiOne Mozilla. |
_________________ Dantrell B. |
|
Back to top |
|
|
papandreoos Apprentice
Joined: 17 Dec 2014 Posts: 163
|
Posted: Tue Dec 26, 2017 11:00 pm Post subject: |
|
|
you are great!
i just add to
Code: | /etc/fonts/local.conf |
the code you quote from Ant P. (which didn't work for me before (i respond to the post you have linked to, in the past ) but now is. don't know why).
now no problems in github or tomshardware "missing" numbers as before and in your check-link almost all the emojis are colored now.
when the latest cairo will arrive to gentoo, could i remove this local.conf file and the emoji will be with colors out of the box? |
|
Back to top |
|
|
dantrell l33t
Joined: 01 Jun 2007 Posts: 915 Location: Earth
|
Posted: Wed Dec 27, 2017 7:38 am Post subject: |
|
|
papandreoos wrote: | when the latest cairo will arrive to gentoo, could i remove this local.conf file and the emoji will be with colors out of the box? |
Probably not as cairo and fontconfig are separate issues. _________________ Dantrell B. |
|
Back to top |
|
|
papandreoos Apprentice
Joined: 17 Dec 2014 Posts: 163
|
Posted: Wed Dec 27, 2017 11:22 am Post subject: |
|
|
thanks |
|
Back to top |
|
|
|