fonts/text look unsmooth in lenny
hi,
I recently switched from Ubuntu to Debian. I've had text look bad in both of them but after installing some packages, like msttcorefonts and getting libfreetype6 (and probably more I can't remember) I managed to make it look ok in Ubuntu but in Debian it still doesn't look good in some applications. Here are 2 screenshots of QtCreator and VirtualBox: http://img100.imageshack.us/img100/6496/filel.jpg http://img253.imageshack.us/img253/3374/85280329.jpg I'm beginning to suspect it has something to do with how Qt handles it's fonts since I'm pretty sure that VirtualBox's UI is also written in Qt. Has anyone encountered this before? Maybe I'm missing some basic package? Thanks. |
Do you have on-board graphics or a separate card?,Ati or Nvidia?
Have you installed a graphics driver? I have seen text look like that using the generic 'vesa' driver. It would be an idea to post the contents of /etc/X11/xorg.conf. |
Quote:
I have an ATI Radeon HD4850. In my ongoing attempt to fix this issue I installed fglrx drivers for my graphics card, thinking that was one of the differences between my previous Ubuntu installation. Unfortunately this didn't fix the problem. Anyhow here are the contents of xorg.conf: Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "XkbRules" "xorg" Option "XkbModel" "pc104" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" EndSection Section "Device" Identifier "ATI" Driver "fglrx" EndSection Section "Monitor" Identifier "Configured Monitor" EndSection Section "Screen" Identifier "Default Screen" Monitor "Configured Monitor" DefaultDepth 24 EndSection |
I take it you have direct rendering?
I think the command was fglrx | grep "direct rendering" Should return with a "Yes". |
Quote:
|
Do you have the mesa-utils package installed?
|
Quote:
|
Maybe i have the syntax wrong.....
Here's what i do with an Nvidia card: Code:
ade@Pc1:~$ glxinfo | grep "direct rendering" |
Quote:
|
Ok, that's good.
I'm running out of ideas,maybe there's something shown in the X log file: cat /var/log/Xorg.0.log | grep EE Maybe there is something there? |
Quote:
I found some interesting topics regarding this issue a few minutes ago, they seem to address Qt 4.5.0 directly, which verifies my suspicion that's it's indeed a Qt specific problem. I'll try my luck with those, but thanks anyway. Here are some links to them if someone stumbles upon this thread: http://bbs.archlinux.org/viewtopic.php?id=69215 http://bbs.archlinux.org/viewtopic.php?id=67031&p=2 http://www.nabble.com/Bug-448555:-fi...d22557271.html http://www.nabble.com/blurry-fonts-a...d15148606.html http://www.mail-archive.com/debian-q.../msg25168.html http://www.robodesign.ro/mihai/blog/...font-rendering |
Ok,sorry i can't be more help.
When you do find a solution don't forget to post back here,as this will help other people searching this problem. |
How about screen resolution? Are you using best native rez & refresh? Modern displays will often accept other rates but won't look very good doing it
|
I believe I fixed it. In one of the those links there was the contents of .fonts.conf, I tried using it and it worked! Text in the apps I showed before is now looking good again.
Here's the .fonts.conf that fixed it for me: Code:
<?xml version="1.0"?> |
Good stuff!.
Just out of interest, where is the file you have edited? In my home directory i only have .fontconfig. |
All times are GMT -5. The time now is 10:47 PM. |