You are not logged in.
Latest update messed up fonts in most applications, blurry antialiased fonts everywhere. Maybe someone knows the quick fix to get back to sharp fonts again?
Offline
steelneck, I'd ve surprised if you get any help without being more specific.
Your latest update was almost certainly different than mine. What was updated in your last update? (check pacman logs if you don't know).
I also suspect what you refer to as "most applications" is very different from what others may use - what WM/DE is this? Is this with gtk or qt apps, or both?
What fonts are you trying to use?
Last edited by Trilby (2012-07-23 00:55:58)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
My latest update was a lot 800Mb or so, like half the system. I use mainly GTK programs but it affects Firefox and Thunderbird too. I have always used the "export GDK_USE_XFT=0" in my profile, that is the only setting i have changed regarding fonts since the original Arch install a year ago or so. Ohh, just remembered, in my .gtkrc-2.0 i have specified Helvetica.
Last edited by steelneck (2012-07-23 01:13:28)
Offline
The most recent update was to ttf-liberation
Offline
Helvetica is not a TTF-font so that update should not apply to this problem.
Offline
Sorry, it may have something to with it after all.. If i choose to use Helvetica, like in the file listings in Gnome Commander, it does no longer obey my setting and use that ttf-liberation. So, what has caused this change? I really do not like when something overrides my settings..
Offline
Hi.
I use Liberation fonts as my main font in KDE because it is very sharp and I like it.
I have upgraded my system this morning.
The ttf-liberation package was upgraded from version 1.07.2-1 to version 2.00.0-1.
Since this update, the Liberation fonts are very blurry.
I think this is the same problem steelneck has.
It is a bug in the font package ?
Offline
From liberation-fonts website :
"On Jul 18 Liberation fonts 2.00.0 version is released based on croscore fonts to resolve long standing licensing problem and also get more coverage present in croscore fonts."
I think the new release is totally new.
I will look for another sharp font ![]()
Offline
@Desintegr, Your problem may be unrelated to the original post. I strongly suggest you start a new forum thread for your problem rather than confuse this thread. Font aliasing and hinting problems are not the same as font substitutions.
@steelneck, you may edit your posts, rather than add a new post. That keeps the thread shorter and easier for others to scan.
Gnome may have settings for font substitutions outside of those set by fontconfig. I do not use Gnome.
Check that Liberation is being substituted for Helvetica with fc-match:
$ fc-match HelveticaIf the output tells you Liberation is being substituted, it's probably due to a font substitution setting in /etc/fonts/conf.d/. You can create a list of files to check with:
$ grep -li helvetica $(grep -li liberation /etc/fonts/conf.d/*)After checking those files, you may wish to remove the symlink from /etc/fonts/conf.d/, or you can write your own font substitution rules. See https://wiki.archlinux.org/index.php/Font_Configuration and man fonts.conf.
Offline
It was due to Liberation fonts update.
I have replaced all Liberation fonts by DejaVu.
cd /etc/fonts/conf.d/
sed -i s/Liberation/DejaVu/g *.confLast edited by kolombo (2012-07-23 12:57:37)
Offline
Finally downgraded ttf-liberation.
pacman -U /var/cache/pacman/pkg/ttf-liberation-1.07.2-1-any.pkg.tar.xz
fc-cache -vfOffline
The new Liberation fonts 2.00.0 have worse hinting than 1.07.2. It appears to be impossible to get the old good nice look with them so the best, although not ideal solution probably is to downgrade the package ttf-liberation and add it to the IgnorePkg list in /etc/pacman.conf to prevent pacman from upgrading it.
Offline
I also like the old ttf-liberation a lot more than the new one. Maybe it would be a good solution to create an AUR package for the old one. Something like ttf-liberation1.
I will also check if DejaVu is a nice alternative.
Offline
is there a way to download older packages with pacman? i can't seem to find that option, and my cache was cleared since then.
Offline
is there a way to download older packages with pacman? i can't seem to find that option, and my cache was cleared since then.
Offline
i've screwed up my fonts....
so before i made the sed /x/x/ changes to my font/conf.d dir i backed it up, but i didn't realize at teh time that all the files were symlinks. after not being able to restore them, i did the next best thing, which turned out pretty bad. i did the reverse sed /x/x/ in the dir. now my teminal looks terrible. is there a "base" or "standard" font/conf.d (reall conf.avail)?
Offline
@hkmike, try
pacman -Qo /etc/fonts/conf.avail/*This should tell you which packages besides 'fontconfig' that you may have to reinstall.
Edit: Oops! Serious typo in a simple command.
Last edited by thisoldman (2012-07-27 11:07:16)
Offline
did that and came up with
ttf-dejavu
wqy-bitmapfont
fontconfigafter reinstalling those three, some things are look normal again, but my guake terminal is still not right, its set to use the system default monospace font. i tried changing the lines in 60-latin.conf to make sure liberation sans mono was at the top of the monospace family list, but still no change. i could just change the font in the program, but it seems like there is still an underlying problem in the system font configuration.
Offline
What is the system monospace font? Perhaps this will help.
$ fc-match Monospace # Returns the system monospace font
DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"
$ grep -l 'DejaVu Sans Mono' /etc/fonts/conf.d/* # Config files that contain the font name
/etc/fonts/conf.d/20-unhint-small-dejavu-sans-mono.conf
/etc/fonts/conf.d/45-latin.conf
/etc/fonts/conf.d/57-dejavu-sans-mono.conf
/etc/fonts/conf.d/60-latin.conf
/etc/fonts/conf.d/65-wqy-zenhei.conf
$ # Search with context ±4 lines within a file; include line numbers in results
$ grep -nC 4 'DejaVu Sans Mono' /etc/fonts/conf.d/65-wqy-zenhei.conf
37- </alias>
38- <alias>
39- <family>monospace</family>
40- <prefer>
41: <family>DejaVu Sans Mono</family>
42- <family>Bitstream Vera Sans Mono</family>
43- <family>WenQuanYi Zen Hei Mono</family>
44- </prefer>
45- </alias>—Please start using the Shift key. It's difficult to read text without proper capitalization and punctuation. Slows me down when I'm already none too fast.
Offline
Its giving me Nimbus Mono L, but it looks that that is always last in line for substitution. Or am i reading this file backwards? I read this:
these are listed in priority order; matches earlier in the list are considered "closer" than matches later in the list.from http://freedesktop.org/software/fontcon … -user.html. So i don't think that is the case.
[testuser@arch2 ~]$ fc-match Monospace
n022003l.pfb: "Nimbus Mono L" "Regular"
[testuser@arch2 ~]$ grep -l 'Nimbus Mono L' /etc/fonts/conf.d/*
/etc/fonts/conf.d/30-metric-aliases.conf
/etc/fonts/conf.d/45-latin.conf
/etc/fonts/conf.d/60-latin.conf
[testuser@arch2 ~]$ grep -nC 10 'Nimbus Mono L' /etc/fonts/conf.d/30-metric-aliases.conf
4-
5- <!-- Alias similar/metric-compatible families from various sources:
6-
7- PostScript fonts:
8- Helvetica
9- Times
10- Courier
11- URW fonts:
12- Nimbus Sans L
13- Nimbus Roman No9 L
14: Nimbus Mono L
15-
16- Microsoft fonts:
17- Arial
18- Times New Roman
19- Courier New
20- Liberation fonts:
21- Liberation Sans
22- Liberation Serif
23- Liberation Mono
24- StarOffice fonts:
--
59- </alias>
60-
61- <alias binding="same">
62- <family>Nimbus Roman No9 L</family>
63- <default>
64- <family>Times</family>
65- </default>
66- </alias>
67-
68- <alias binding="same">
69: <family>Nimbus Mono L</family>
70- <default>
71- <family>Courier</family>
72- </default>
73- </alias>
74-
75-
76- <!-- Microsoft -->
77- <alias binding="same">
78- <family>Liberation Sans</family>
79- <family>Albany</family>
--
167- <alias binding="same">
168- <family>Times</family>
169- <accept>
170- <family>Nimbus Roman No9 L</family>
171- </accept>
172- </alias>
173-
174- <alias binding="same">
175- <family>Courier</family>
176- <accept>
177: <family>Nimbus Mono L</family>
178- </accept>
179- </alias>
180-
181-
182- <!-- Microsoft -->
183- <alias binding="same">
184- <family>Arial</family>
185- <accept>
186- <family>Liberation Sans</family>
187- <family>Albany</family>
[testuser@arch2 ~]$ grep -nC 15 'Nimbus Mono L' /etc/fonts/conf.d/45-latin.conf
39- </alias>
40-<!--
41- Monospace faces
42- -->
43- <alias>
44- <family>Bitstream Vera Sans Mono</family>
45- <family>Liberation Sans Mono</family>
46- <family>Liberation Mono</family>
47- <family>Inconsolata</family>
48- <family>Courier New</family>
49- <family>Courier</family>
50- <family>Andale Mono</family>
51- <family>Luxi Mono</family>
52- <family>Cumberland AMT</family>
53- <family>Cumberland</family>
54: <family>Nimbus Mono L</family>
55- <default><family>monospace</family></default>
56- </alias>
57-<!--
58- Fantasy faces
59- -->
60- <alias>
61- <family>Impact</family>
62- <family>Copperplate Gothic Std</family>
63- <family>Cooper Std</family>
64- <family>Bauhaus Std</family>
65- <default><family>fantasy</family></default>
66- </alias>
67-<!--
68- Cursive faces
69- -->
[testuser@arch2 ~]$ grep -nC 10 'Nimbus Mono L' /etc/fonts/conf.d/60-latin.conf
32- <alias>
33- <family>monospace</family>
34- <prefer>
35- <family>Liberation Sans Mono</family>
36- <family>Bitstream Vera Sans Mono</family>
37- <family>Inconsolata</family>
38- <family>Andale Mono</family>
39- <family>Courier New</family>
40- <family>Cumberland AMT</family>
41- <family>Luxi Mono</family>
42: <family>Nimbus Mono L</family>
43- <family>Courier</family>
44- </prefer>
45- </alias>
46-<!--
47- Fantasy faces
48- -->
49- <alias>
50- <family>fantasy</family>
51- <prefer>
52- <family>Impact</family>
[testuser@arch2 ~]$ Offline
The wiki says the fonts are parsed in reverse numerical order. Different DEs may have ways of overriding fontconfig and some apps don't use freetype.
If you wish to override the configs in /etc/fonts/conf.d, you can do it with ~/.fonts.conf. The file can be created if it doesn't already exist.Try Googling fontconfig font substitution'.
If you don't want to dive into the xml for font substitution yourself, there are apps that can do it. The AUR has 'font-manager'. I've tried it and it works. I prefer hand coding but many people are the opposite.
Last edited by thisoldman (2012-07-31 10:44:18)
Offline
So it is backwards? But then why does it this work? Liberation is at the top of both lists, where it appears to be getting priority.
[testuser@arch2 conf.d]$ fc-match sans
LiberationSans-Regular.ttf: "Liberation Sans" "Regular"
[testuser@arch2 conf.d]$ fc-match serif
LiberationSerif-Regular.ttf: "Liberation Serif" "Regular"
[testuser@arch2 conf.d]$ fc-match sans-serif
LiberationSans-Regular.ttf: "Liberation Sans" "Regular"
[testuser@arch2 conf.d]$ <fontconfig>
<alias>
<family>serif</family>
<prefer>
<family>Liberation Serif</family>
<family>Bitstream Vera Serif</family>
<family>Times New Roman</family>
<family>Thorndale AMT</family>
<family>Luxi Serif</family>
<family>Nimbus Roman No9 L</family>
<family>Times</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Liberation Sans</family>
<family>Bitstream Vera Sans</family>
<family>Verdana</family>
<family>Arial</family>
<family>Albany AMT</family>
<family>Luxi Sans</family>
<family>Nimbus Sans L</family>
<family>Helvetica</family>
<family>Lucida Sans Unicode</family>
<family>BPG Glaho International</family> <!-- lat,cyr,arab,geor -->
<family>Tahoma</family> <!-- lat,cyr,greek,heb,arab,thai -->
</prefer>
</alias>Offline
The files are taken in reverse numerical order, not the parsing within the files, I'm pretty sure.
Offline
blurry antialiased fonts everywhere
Take the time to install and set up Infinality's rendering. Your eyes will thank you ![]()
Offline