You are not logged in.
Hi!
Yaft- Yet another Fontproblem Thread
I tried all those font configs from this forum/wiki/gentoowiki, but none helps me to enable Anti-Aliasing.
I also tried to symlink /etc/fonts/conf.avail/10-sub-pixel-rgb.conf to /etc/fonts/conf.d but this doesnt help.
I reran fc-cache and restartet my xserver, the settings seme to be ignored. I dont use any DE, just dwm.
thx for reply ![]()
Last edited by caust1c (2007-07-11 19:23:21)
Offline
i these in ~/.Xdefaults
urxvt*font: xft:Terminus:pixelsize=14
Xft*dpi: 96
Xft*antialias: true
Xft*hinting: fullThere shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums. That is why we avoid it. -- ewaller (arch linux forum moderator)
Offline
doh!
i had xft*antialias: false in my .Xdefaults 
Last edited by caust1c (2007-07-11 18:56:29)
Offline
Am I mistaken or I can't see much of a difference in the dwm bar? The fonts there don't seem to have been affected by antialiasing...
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
Am I mistaken or I can't see much of a difference in the dwm bar? The fonts there don't seem to have been affected by antialiasing...
$ ldd /usr/local/bin/dwm
linux-gate.so.1 => (0xb7f61000)
libc.so.6 => /lib/libc.so.6 (0xb7e19000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7d30000)
/lib/ld-linux.so.2 (0xb7f62000)
libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb7d2e000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7d17000)
libdl.so.2 => /lib/libdl.so.2 (0xb7d13000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7d10000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7d0a000)
$ ldd /usr/bin/urxvt | grep font
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7f3e000)pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
I get the same output over here...
>ldd /usr/bin/dwm
linux-gate.so.1 => (0xb7f5a000)
libc.so.6 => /lib/libc.so.6 (0xb7e0e000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7d25000)
/lib/ld-linux.so.2 (0xb7f5b000)
libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb7d23000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7d0c000)
libdl.so.2 => /lib/libdl.so.2 (0xb7d08000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7d05000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7cff000)
>ldd /usr/bin/urxvt | grep font
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7ea5000)Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
I get the same output over here...
I was just showing that dwm didn't use fontconfig, so it isn't affected by /etc/fonts/ configs.
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
Cool, before replying I had the doubt that fontconfig was needed for antialiased fonts, so I had to choose my reply: either asking you if my speculation was right, or trying to show you my output to compare it with yours, obviously I picked the *right* one ![]()
Thanks anyway ![]()
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
I don't know all details, but there are at least 3 parts : Xft , freetype and fontconfig.
I believe these always come together, at least they are all there for urxvt :
libXft.so.2 => /usr/lib/libXft.so.2 (0xb7f4b000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7f43000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7f18000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7e9d000)So maybe the actual anti aliasing is done by freetype, and freetype rendering can be configured thanks to fontconfig.
And Xft (which, according to the man page, is related to Xrender) might be the interface that the applications uses for opening / displaying fonts.
I guess the best way to understand this fully is to write a litte application using these libs ![]()
But I just wanted to give a quick way to find out if a given program supports this stuff or not.
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline