You are not logged in.

#1 2011-08-03 00:24:35

bruno321
Member
Registered: 2010-03-05
Posts: 89

System update messed up fonts [FIXED]

I just pacman -syu'd, and for some reason some fonts have changed.

For example, I think the font in which I'm reading what I'm writing right now (I mean, the font used in this box in the browser) is the same, but the font used by pcmanfm and medit (to name two examples) have changed.

It is particularly annoying for medit. Here's an example of what it looks: http://img854.imageshack.us/img854/3609 … 212024.png

How can I go back to the font config I had?

Last edited by bruno321 (2011-08-03 18:52:04)

Offline

#2 2011-08-03 01:51:06

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,385
Website

Re: System update messed up fonts [FIXED]

Figure out what package you updated to have the issue.

Offline

#3 2011-08-03 02:32:42

bruno321
Member
Registered: 2010-03-05
Posts: 89

Re: System update messed up fonts [FIXED]

Ok, I checked /var/cache/pacman/pkg for recently created files. Here's the ones I suspect might have something to do with it / the ones I don't know what they do:

gnome-vfs-2.24.4-4-i686.pkg.tar.xz
telepathy-glib-0.15.4-1-i686.pkg.tar.xz
kdelibs-4.7.0-1-i686.pkg.tar.xz
oxygen-icons-4.7.0-1-any.pkg.tar.xz
dconf-0.8.0-1-i686.pkg.tar.xz
kdemultimedia-kioslave-4.7.0-1-i686.pkg.tar.xz
kdebase-runtime-4.7.0-1-i686.pkg.tar.xz
dillo-2.2.1-1-i686.pkg.tar.xz
soprano-2.6.50git20110728-1-i686.pkg.tar.xz
initscripts-2011.07.3-1-i686.pkg.tar.xz
libsoup-2.34.3-1-i686.pkg.tar.xz
libsoup-gnome-2.34.3-1-i686.pkg.tar.xz
pygobject-2.28.6-1-i686.pkg.tar.xz
pygobject-devel-2.28.6-1-i686.pkg.tar.xz
libva-1.0.14-1-i686.pkg.tar.xz
polkit-gnome-0.101-3-i686.pkg.tar.xz
freetype2-2.4.6-1-i686.pkg.tar.xz
libsndfile-1.0.25-1-i686.pkg.tar.xz
bluez-4.96-1-i686.pkg.tar.xz
mesa-7.11-1-i686.pkg.tar.xz
hplip-3.11.7-1-i686.pkg.tar.xz
rtmpdump-2.4-1-i686.pkg.tar.xz
gtk3-3.0.12-1-i686.pkg.tar.xz
gtk2-2.24.5-3-i686.pkg.tar.xz
gtk-update-icon-cache-2.24.5-3-i686.pkg.tar.xz
xterm-271-1-i686.pkg.tar.xz
libx11-1.4.4-1-i686.pkg.tar.xz
libmms-0.6.2-1-i686.pkg.tar.xz
gtkglext-1.2.0-6-i686.pkg.tar.xz
gtkglextmm-1.2.0-6-i686.pkg.tar.xz
imlib-1.9.15-10-i686.pkg.tar.xz
xorg-twm-1.0.7-1-i686.pkg.tar.xz
xorg-xset-1.2.2-1-i686.pkg.tar.xz
xorg-x11perf-1.5.4-1-i686.pkg.tar.xz

Perhaps somebody with a more keen eye can spot the troublesome ones? I thought freetype should have been the one, but I downgraded & restarted X, to no avail.

Thank you for your time.

Offline

#4 2011-08-03 02:37:30

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: System update messed up fonts [FIXED]

What font are you using in medit? Do other fonts look different too?

Offline

#5 2011-08-03 02:41:10

bruno321
Member
Registered: 2010-03-05
Posts: 89

Re: System update messed up fonts [FIXED]

It's also claws-mail, now that I notice, and it's using the sans font, and the monospace font, which are looking funny... but perhaps there are more. I don't know what fonts I was using before.

Last edited by bruno321 (2011-08-03 02:42:30)

Offline

#6 2011-08-03 02:53:11

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: System update messed up fonts [FIXED]

I'm just guessing, but maybe it has something to do with gtk. What DE/wm do you use?

Offline

#7 2011-08-03 02:56:12

bruno321
Member
Registered: 2010-03-05
Posts: 89

Re: System update messed up fonts [FIXED]

I use Fluxbox. I think you may be right; I've launched a qt app (qtbittorrent) and it looks the same...

I tried downgrading gtk2 and gtk3 to the last version, to no avail.

Last edited by bruno321 (2011-08-03 03:03:30)

Offline

#8 2011-08-03 03:03:20

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,385
Website

Re: System update messed up fonts [FIXED]

stlarch wrote:

I'm just guessing, but maybe it has something to do with gtk. What DE/wm do you use?

My guess would be freetype2-2.4.6-1-i686.pkg.tar.xz....

Offline

#9 2011-08-03 03:07:28

bruno321
Member
Registered: 2010-03-05
Posts: 89

Re: System update messed up fonts [FIXED]

Aha! It was freetype. I said:

"I thought freetype should have been the one, but I downgraded & restarted X, to no avail."

It seems restarting X was not enough, I had to logout-login.

Anyway, I'll hold on to this version of freetype (2-2.4.4-2). I don't understand why it changed the way it did though.

Thanks for your help! I'll mark the thread as solved.

PS: Here's how it looks now (way better IMHO): http://img684.imageshack.us/img684/7262 … 000810.png

Last edited by bruno321 (2011-08-03 03:09:07)

Offline

#10 2011-08-03 03:11:32

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: System update messed up fonts [FIXED]

Always take Allan's word over mine. Glad you worked it out. I've been playing with fluxbox too lately and I kinda like it.

Offline

#11 2011-08-03 17:06:57

nbtrap
Member
Registered: 2011-02-24
Posts: 110

Re: System update messed up fonts [FIXED]

I had the same problem after that freetype2 upgrade. For some reason, xft font hinting (and anti-aliasing) was disabled after the upgrade. To fix it, I had to add the following lines to my ~/.Xresources:

Xft.dpi:        96
Xft.antialias:  true
Xft.rgba:       rgb
Xft.hinting:    true
Xft.hintstyle:  hintslight

Your rgba and dpi settings may be different, but those are the most common. Also, to make your GTK2 apps display the appropriate font, make sure you have a properly configured ~/.gtkrc-2.0 file. Mine looks like:

gtk-icon-theme-name = "nuoveXT2"
gtk-theme-name = "Clearlooks"
gtk-font-name = "FreeSans 10"

Edit:
I forgot to mention one more step. See my next post.

Last edited by nbtrap (2011-08-03 18:16:25)

Offline

#12 2011-08-03 17:38:11

partizan
Member
From: Ukraine
Registered: 2010-09-23
Posts: 28

Re: System update messed up fonts [FIXED]

I had the same problem. Hint from nbtrap won't work (for me).
I think here nothing about hinting or antialiasing (in my case only line-height for monospace fonts is changed).
Reported to upstream: https://savannah.nongnu.org/bugs/index.php?33939

Last edited by partizan (2011-08-03 17:38:30)

Offline

#13 2011-08-03 18:15:46

nbtrap
Member
Registered: 2011-02-24
Posts: 110

Re: System update messed up fonts [FIXED]

Oops, I forgot to mention one thing. You also have to add the following line to your ~/.xinitrc before the exec command:

xrdb -merge ~/.Xresources

So my .xinitrc looks like:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

xrdb -merge ~/.Xresources
exec ck-launch-session ~/.xautorunrc-dwm

Just make sure you add that one line before the line beginning with "exec". Don't touch anything else.

Offline

#14 2011-08-03 18:22:25

nbtrap
Member
Registered: 2011-02-24
Posts: 110

Re: System update messed up fonts [FIXED]

partizan wrote:

I had the same problem. Hint from nbtrap won't work (for me).
I think here nothing about hinting or antialiasing (in my case only line-height for monospace fonts is changed).
Reported to upstream: https://savannah.nongnu.org/bugs/index.php?33939

You and the TC may be experiencing a different problem than I had. Nevertheless, it won't hurt to try my suggestions.

Offline

#15 2011-08-03 18:34:43

partizan
Member
From: Ukraine
Registered: 2010-09-23
Posts: 28

Re: System update messed up fonts [FIXED]

nbtrap wrote:

You and the TC may be experiencing a different problem than I had. Nevertheless, it won't hurt to try my suggestions.

tried with no succes.
downgrading solves the problem, but maybe here is better fix) i'm waiting for response from developers in mainstream bugtracker.

Offline

#16 2011-08-03 18:52:53

bruno321
Member
Registered: 2010-03-05
Posts: 89

Re: System update messed up fonts [FIXED]

Well, it's reassuring to see that I'm not the only one with this problem. I've changed the title from SOLVED to FIXED, since a downgrade isn't really a solution...

Offline

#17 2011-08-05 22:27:09

acoples
Member
Registered: 2009-11-27
Posts: 22

Re: System update messed up fonts [FIXED]

Hi!! I have the same problem after the upgrade i can't see my fonts in anti-aliasing mode, I've tried the nbtrap solution but it didn't worked for me, I want to downgrade the version of freetype to the 2-2.4.4-2 but I don't have the package anymore in my system, Is there a way to find the freetype 2-2.4.4-2 version somewhere??...

thanks and sorry my english!

Offline

#18 2011-08-05 22:37:06

partizan
Member
From: Ukraine
Registered: 2010-09-23
Posts: 28

Re: System update messed up fonts [FIXED]

acoples wrote:

Hi!! I have the same problem after the upgrade i can't see my fonts in anti-aliasing mode, I've tried the nbtrap solution but it didn't worked for me, I want to downgrade the version of freetype to the 2-2.4.4-2 but I don't have the package anymore in my system, Is there a way to find the freetype 2-2.4.4-2 version somewhere??...

thanks and sorry my english!

You really can't see fonts in anti-aliased mode? You mean fonts disappeared or fonts looks horrible? (my english not very well too smile

anyway, if you want to downgrade you need:
1. installed "abs"
2. then get sources and build

sudo abs extra/freetype2
cp -r /var/abs/extra/freetype2/ /tmp/ && cd /tmp/freetype2
# edit PKGBUILD, replace version to 2.4.5
makepkg --skipinteg -i

if build fail when downloading sources from sourceforge, download file with your browser and try again.

Offline

#19 2011-08-05 22:58:38

acoples
Member
Registered: 2009-11-27
Posts: 22

Re: System update messed up fonts [FIXED]

Problem Solved! smile

thank you very much my friend!!

Last edited by acoples (2011-08-05 22:58:55)

Offline

Board footer

Powered by FluxBB