You are not logged in.
Hi everyone!
I am experiencing a weird behaviour with my browser.
After updating fontconfig to the version 2.10.95, fonts appear blured in firefox. And changing fonts in firefox does not solve the problem (actually, it seems like the change does not take effect)
I have downgraded to 2.10.93 and now firefox looks fine.
Can you confirm that the problem is actually fontconfig 2.10.95?
Thanks in advance!
All the best,
and-bnk
Last edited by and-bnk (2013-09-03 19:22:19)
Offline
Hello
I'm running Firefox but don't see blurry fonts after upgrading fontconfig. I'm using ttf-dejavu fonts, but don't know that it makes any difference in your case.
What fonts are you using?
Maybe some other users will chime in one way or the other
oz
Offline
I also have noticed some problems after the fontconfig update, in firefox and clementine. installing ttf-ms-fonts helped a little (the fonts now looks fine but I dont like these fonts).
Offline
Which fonts are you using? I chose to use ttf-chromeos-fonts and I believe them to be sharp.
progandy@pamobile /etc/fonts/conf.d % cat 00-chromos-fonts.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- select chromeos fonts as default fonts -->
<alias>
<family>serif</family>
<prefer>
<family>Tinos</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Arimo</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Cousine</family>
</prefer>
</alias>
<!-- override some windows fonts (since pipelight forced me to install it) -->
<match target="pattern">
<test qual="any" name="family"><string>georgia</string></test>
<edit name="family" mode="assign" binding="same"><string>Tinos</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>times</string></test>
<edit name="family" mode="assign" binding="same"><string>Tinos</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>times new roman</string></test>
<edit name="family" mode="assign" binding="same"><string>Tinos</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>arial</string></test>
<edit name="family" mode="assign" binding="same"><string>Arimo</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>verdana</string></test>
<edit name="family" mode="assign" binding="same"><string>Arimo</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>courier</string></test>
<edit name="family" mode="assign" binding="same"><string>Cousine</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>courier new</string></test>
<edit name="family" mode="assign" binding="same"><string>Cousine</string></edit>
</match>
</fontconfig>| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
I'm running Firefox but don't see blurry fonts after upgrading fontconfig. I'm using ttf-dejavu fonts, but don't know that it makes any difference in your case.
What fonts are you using?
I am using exactly the same fonts.
Anyway, I tried also to change fonts in the firefox settings (and in the system settings as well) but the blurry letters were still there.
Just for the record, my DE is gnome. Does this make any difference?
Last edited by and-bnk (2013-09-02 07:10:13)
Offline
Gnome has its own font settings which are read by cairo. Maybe try to adjust that with gnome-tweak-tool.
By the way, here is an overview of the font stack: http://weirdfellow.wordpress.com/2010/07/25/insanity/
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
I’m experiencing the same behaviour after upgrading to fontconfig 2.10.95.
Can you confirm that the problem is actually fontconfig 2.10.95?
Yes (together with installed Tex Gyre fonts). For me commit 010c97 is the first commit to show this bug. Manually reverting the changes fixed this issue for me.
Moreover, this bug is only triggered for me when my LaTeX fonts are manually linked into /usr/share/fonts/. This makes it possible that the TeX Gyre fonts are found by the font rendering system in the first place.
Offline
Gnome has its own font settings which are read by cairo. Maybe try to adjust that with gnome-tweak-tool
I have tried (with gnome-tweak-tol one can only change fonts, though - at least, this appears to me).
Yes (together with installed Tex Gyre fonts). For me commit 010c97 is the first commit to show this bug. Manually reverting the changes fixed this issue for me.
Sorry, I didn't get it: how did you manage?
Moreover, this bug is only triggered for me when my LaTeX fonts are manually linked into /usr/share/fonts/. This makes it possible that the TeX Gyre fonts are found by the font rendering system in the first place
so, you think the problem here is texlive... what do you suggest?
Offline
varistor wrote:Yes (together with installed Tex Gyre fonts). For me commit 010c97 is the first commit to show this bug. Manually reverting the changes fixed this issue for me.
Sorry, I didn't get it: how did you manage?
Sorry for not being clear. ![]()
I made an additional config file /etc/fonts/conf.d/99-metric-aliases.conf with the following content:
EDIT: Corrected /etc/conf.d/99-metric-aliases.conf to /etc/fonts/conf.d/99-metric-aliases.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Remove TeX Gyre substitutes defined in 30-metric-aliases.conf. -->
<!-- Map generics to specifics -->
<!-- PostScript -->
<alias binding="same">
<family>Helvetica</family>
<accept>
<family>Nimbus Sans L</family>
</accept>
</alias>
<alias binding="same">
<family>Times</family>
<accept>
<family>Nimbus Roman No9 L</family>
</accept>
</alias>
<!-- Microsoft -->
<alias binding="same">
<family>Arial</family>
<accept>
<family>Arimo</family>
<family>Liberation Sans</family>
<family>Albany</family>
<family>Albany AMT</family>
</accept>
</alias>
<alias binding="same">
<family>Times New Roman</family>
<accept>
<family>Tinos</family>
<family>Liberation Serif</family>
<family>Thorndale</family>
<family>Thorndale AMT</family>
</accept>
</alias>
</fontconfig>It contains the original version of the bits of 30-metric-aliases.conf that were changed between fontconfig 2.10.93 and 2.10.95. Hence, the buggy behaviour is overwritten by the old one.
EDIT: Sorry, I forgot to mention that you should run
fc-cache -fas root after placing the new config file to read the changes and recreate the fontconfig cache.
varistor wrote:Moreover, this bug is only triggered for me when my LaTeX fonts are manually linked into /usr/share/fonts/. This makes it possible that the TeX Gyre fonts are found by the font rendering system in the first place
so, you think the problem here is texlive... what do you suggest?
No, not really. The problem is that some Texlive/TeX Gyre fonts are marked as substitutes for Arial etc. by newer fontconfig versions. And those fonts are badly hinted, resulting in blurred fonts.
Last edited by varistor (2013-09-03 19:44:32)
Offline
I made an additional config file /etc/conf.d/99-metric-aliases.conf with the following content:
it worked! I put that conf file in /etc/fonts/conf.d/, though.
Moreover, this bug is only triggered for me when my LaTeX fonts are manually linked into /usr/share/fonts/.
The problem is that some Texlive/TeX Gyre fonts are marked as substitutes for Arial etc. by newer fontconfig versions. And those fonts are badly hinted, resulting in blurred fonts.
I can confirm that the bug is exctaly this one.
I updated to 2.10.95 on another laptop where tex fonts are not symlinked into /usr/share/fonts/: fontconfig works like a charm.
Thank you, varistor! Thanks to everybody!
All the best,
and-bnk
Offline
I put that conf file in /etc/fonts/conf.d/, though.
And that’s where it’s intended to go. Another reason for copy/pasting paths and shell commands.
I corrected the mistake in the post above.
Offline