LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 07-25-2008, 11:27 AM   #1
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 217

Rep: Reputation: 30
X: video drivers "ati" and "fglrx" show same fonts differently


Hello!
I'm having this problem recently, it started when I upgraded Ati fglrx driver from 8.6 to 8.7, but still stayed when I reverted to 8.6.
After the upgrade, font size shrinked: in KDE Control Center I had to increase by one all fonts (DejaVu) in order to make everything look like before (nevertheless, the result is not the same: I've got the impression that font quality has decreased, somehow).
If I use the default X ati driver, the font size gets back to how it was before.
Anyway, I need fglrx for DRI.
Is this normal? Shouldn't a font be visualized always in the same way?
By the way, of course the resolution has not been changed, it's always 1280x800.
Thanks!
 
Old 07-25-2008, 06:15 PM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,754

Rep: Reputation: Disabled
DPI setting?
If that changes, fonts will be scaled.
 
Old 07-25-2008, 09:10 PM   #3
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 3,992

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
I have seen this often before. When I changed my driver from 'nv' to 'nvidia' same thing. Sometimes you can get the old situation back by changing the DPI.

I also have different computers with the same installation with the fonts looking slightly different. Or the kerning, or the line spacing.

On this computer where I type now, all fonts became about 80% of the original size after a power outage. The machine had reboot at least a dozen times before that event without anything strange, and after the event I also rebooted a few times, and the fonts stayed the same 80%.

Beats me...

jlinkels
 
Old 07-27-2008, 02:21 AM   #4
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 217

Original Poster
Rep: Reputation: 30
Thanks to everyone.
What DPI settings should I change?
In KDE's Control Center, I can only force DPI to 96 or 120, and both make fonts look too big.
Is there something I have to add to xorg.conf?
Thanks again!

P.S.: some fonts always stay the same, regardless of the video driver being used; for example, Firefox's fonts don't change.

Last edited by simopal6; 07-27-2008 at 03:09 AM.
 
Old 07-27-2008, 07:37 PM   #5
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 3,992

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
The DPI setting is changed in /etc/kde3/kdm/Xserver. I hope this use is not depreciated yet.

I have this as first line:
:0 local@tty1 /usr/X11R6/bin/X -nolisten tcp -dpi 75

There might be other Xserver files around, if there is one in your ~/.kde that one might take preference.

It is normal for FF to have its own font system somehow. I don't know the details, but those fonts seems to be independent of KDE settings. I have seen hundreds of post from users having a problem with that, noticable with older versions, so you are quite lucky!

jlinkels
 
Old 07-28-2008, 04:00 AM   #6
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 217

Original Poster
Rep: Reputation: 30
Inside that folder, I have some files (like Xsetup, Xstartup, Xsession), but no Xserver (I'll take a look somewhere else in the filesystem).
Anyway, I've read that the "DisplaySize" option allows to indirectly set the DPI value (there is a formula involving the screen resolution). It seems strange to me, because I thought that DPI were calculated FROM the screen resolution.
I mean, does the correct value of the DPI depend on the screen resolution, or is it me who has to choose a custom value for the DPI?
Thanks!
 
Old 07-28-2008, 06:00 AM   #7
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 3,992

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
I already feared that the Xserver file might be placed somewhere else dependent on distro.

I can't answer what DPI exactly does, you have to try and find some docs on X. I do know that the DPI setting only has to do with fonts. When you change it, just the font changes, not the dimension of the windows and widgets. Some years ago I had terrible problems with font sizes using GTK apps in KDE. It was impossible to get decent and consistent font sizes for both of them. The problem was eventually solved by installing gtk-qt-engine and the said DPI setting. This is what I posted about it at that time.

Since I do not encounter these problems anymore with new installations, I assume much progress has been made. Your problems might not be related to this, it is just for illustration.

jlinkels
 
Old 07-30-2008, 02:36 AM   #8
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 217

Original Poster
Rep: Reputation: 30
I've found Xservers in /etc/X11/xdm/, and it's quite similar to jinkels' one:
Code:
:0 local /usr/bin/X :0
I've tried adding "-dpi 75" or "-dpi 96" after /usr/bin/X, but nothing changed.
I'm going to try xorg.conf option "DisplaySize" now...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bash script: using "select" to show multi-word options? (like "option 1"/"o zidane_tribal Programming 6 03-21-2013 10:35 AM
Make "ls" command show colors without "--color=always" switch SharpyWarpy Linux - General 4 07-16-2007 11:00 PM
Problems configuring "xorg.conf" with "ATI FGLRX" BlueSpirit Slackware 3 09-16-2006 02:01 PM
suse ati driver "Xlib: extension "XiG-SUNDRY-NONSTANDARD" missing" madcow007 Linux - Hardware 0 03-06-2004 02:53 PM
Xine problem on ATI card: "All available video drivers failed" mystictoaster Linux - Software 1 07-23-2003 10:42 PM


All times are GMT -5. The time now is 10:45 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration