Closed qnub closed 8 years ago
Thank you for the great details!
I don't see Bitstream Vera on your list. Do you have it installed?
You have two versions of the font installed: < V1.1 and V1.1+. EmojiOne rebranded to remove the space, so I changed the internal name in V1.1. You should remove the version with the space.
Bitstream Vera installed ver. 1.10-8 EmojiOne ver. 1.2-1 from ppa
Your output shows:
$ fc-match -s sans-serif
DejaVuSans.ttf: "DejaVu Sans" "Book"
EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular"
EmojiOneColor-SVGinOT.ttf: "EmojiOne Color" "Regular"
DejaVuSans-Bold.ttf: "Bitstream Vera Sans" "Bold"
Mine, yes on Ubuntu 14.04, shows:
$ fc-match -s sans-serif | head -n4
Vera.ttf: "Bitstream Vera Sans" "Roman"
EmojiOneColor-SVGinOT.ttf: "EmojiOne Color" "Regular"
DejaVuSans.ttf: "DejaVu Sans" "Book"
DejaVuSans-Bold.ttf: "DejaVu Sans" "Bold"
The specific issue on your machine is:
DejaVuSans-Bold.ttf: "Bitstream Vera Sans" "Bold"
DejaVu is being selected instead of Bitstream Vera. Can you select Vera in another program such as LibreOffice?
Yeah, Bitstream Vera is selectable in any application. Sans, sans mono and serif.
How strange. I've done no tests in 16.10 since it won't be released until October. I'll add this to my todo list.
Can you give the output of a direct request for Vera Serif?
$ fc-match -s "Bitstream Vera Serif" | head -n2
VeraSe.ttf: "Bitstream Vera Serif" "Roman"
EmojiOneColor-SVGinOT.ttf: "EmojiOne Color" "Regular"
Oh, i'm sorry. My bad :( I have Ubuntu 16.04 x64. I'll fix initial post.
Ah ok! That makes more sense. I was surprised anyone was running 16.10 yet.
Also your output from:
$ ls /usr/share/fonts/truetype/ttf-bitstream-vera/
VeraBd.ttf VeraIt.ttf VeraMoBI.ttf VeraMono.ttf VeraSe.ttf
VeraBI.ttf VeraMoBd.ttf VeraMoIt.ttf VeraSeBd.ttf Vera.ttf
fc-match -s "Bitstream Vera Serif" | head -n2
VeraSe.ttf: "Bitstream Vera Serif" "Roman"
DejaVuSerif.ttf: "DejaVu Serif" "Book"
ls /usr/share/fonts/truetype/ttf-bitstream-vera/
drwxr-xr-x 2 root root 4096 июн 14 01:35 .
drwxr-xr-x 26 root root 4096 июн 14 01:35 ..
-rw-r--r-- 1 root root 58716 апр 16 2003 VeraBd.ttf
-rw-r--r-- 1 root root 63208 апр 16 2003 VeraBI.ttf
-rw-r--r-- 1 root root 63684 апр 16 2003 VeraIt.ttf
-rw-r--r-- 1 root root 49052 апр 16 2003 VeraMoBd.ttf
-rw-r--r-- 1 root root 55032 апр 16 2003 VeraMoBI.ttf
-rw-r--r-- 1 root root 54508 апр 16 2003 VeraMoIt.ttf
-rw-r--r-- 1 root root 49224 апр 16 2003 VeraMono.ttf
-rw-r--r-- 1 root root 58736 апр 16 2003 VeraSeBd.ttf
-rw-r--r-- 1 root root 60280 апр 16 2003 VeraSe.ttf
-rw-r--r-- 1 root root 65932 апр 16 2003 Vera.ttf
Have you removed the second older version of the emoji font?
What i've done:
/usr/share/fonts/truetype/emoji
and in ~/.local/share/fonts
removed last one — not helps. fonts-emojione-svginot
— not helpsfc-cache -f -v
and sudo fc-cache -f -v
— not helpsI've been really busy.
The main issue is that we need to get your system to match Vera above DejaVu. This is why it doesn't work. It has nothing to do with the emoji font.
fc-match -s serif
DejaVuSerif.ttf: "DejaVu Serif" "Book"
EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular"
It should be Vera there. It's even stranger that your system is matching DejaVu as Vera:
DejaVuSans-Bold.ttf: "Bitstream Vera Sans" "Bold"
I was hoping for some other reports about this or a way for me to reproduce it. I'm downloading a 16.04 ISO right now to test in VM.
I am also running Ubuntu 16.04. Here's my output after installing from the PPA
rjh@merlion:~$ fc-match -s serif | head
VeraSe.ttf: "Bitstream Vera Serif" "Roman"
EmojiOneColor-SVGinOT.ttf: "EmojiOne Color" "Regular"
DejaVuSerif.ttf: "DejaVu Serif" "Book"
rjh@merlion:~$ fc-match -s sans-serif | head
Vera.ttf: "Bitstream Vera Sans" "Roman"
EmojiOneColor-SVGinOT.ttf: "EmojiOne Color" "Regular"
DejaVuSans.ttf: "DejaVu Sans" "Book"
rjh@merlion:~$ fc-match -s "Bitstream Vera Serif"
VeraSe.ttf: "Bitstream Vera Serif" "Roman"
EmojiOneColor-SVGinOT.ttf: "EmojiOne Color" "Regular"
DejaVuSerif.ttf: "DejaVu Serif" "Book"
rjh@merlion:~$ dpkg-query --show ttf-bitstream-vera
ttf-bitstream-vera 1.10-8
rjh@merlion:~$ uname -a
Linux merlion 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
rjh@merlion:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS"
I have this configs in my /etc/fonts/conf.d/
:
56-emojione-color.conf
57-dejavu-sans.conf
57-dejavu-sans-mono.conf
57-dejavu-serif.conf
58-dejavu-lgc-sans.conf
58-dejavu-lgc-sans-mono.conf
58-dejavu-lgc-serif.conf
which contains aliases like that:
<alias binding="same">
<family>Bitstream Vera Sans</family>
<accept>
<family>DejaVu Sans</family>
</accept>
</alias>
is not our problem?
@richardjharris Yes. That's exactly what it should be. Thank you for the confirmation.
@qnub
is not our problem?
No. I wrote the fontconfig to handle that.
I've just downloaded an ISO and tested the installation process on Ubuntu 16.04 in VirtualBox. Everything went as expected, except for needing to enable the Universe repository. It works correctly and all emoji are visible.
I don't know everything about font config, but there's clearly an issue with your font configuration. I've spent hours testing and reviewing the provided fontconfig. I'm not sure how to help you from here since I cannot reproduce the issue.
The fontconfig docs: https://www.freedesktop.org/software/fontconfig/fontconfig-user.html
@qnub I haven't heard any further details regarding so, I must close this issue.
I believe it is happening on your machine, but I cannot reproduce the issue there I cannot fix it. Please try the font installation in a fresh virtual machine on your computer. If you can give me steps to reproduce on a fresh 16.04 VM, I can fix or update the README.md about how to avoid the problem. Thank you!
Steps to reproduce:
Steps to reproduce:
sudo apt-add-repository ppa:eosrei/fonts sudo apt-get update sudo apt-get install fonts-emojione-svginot
fc-match -s serif
fc-match -s sans-serif
fc-match -s monospace