View previous topic :: View next topic |
Author |
Message |
djresonance n00b
Joined: 01 Jul 2002 Posts: 13 Location: Sacramento, CA, USA
|
Posted: Mon Jul 01, 2002 7:30 pm Post subject: truetype fonts look squished with X |
|
|
Hi, I've been battling with this problem for the past couple days. For some reason unbeknownst to me, X has started displaying my truetype fonts squished along the horizontal axis. It's hard to describe, so take a look at this screenshot from gEdit:
http://www.resynthesize.com/Screenshot.png
It is only the truetype fonts that look like this, the regular fonts that come with gnome/X look fine. I've tried everything I can think of so far, completely removed the truetype fonts directory and recreated it using ttmkftdir. It's not just the microsoft TTf's, for instance luxi mono looks all squished as well.
Has anyone seen this problem before? I've looked all over the web and haven't been able to find anything. I'm bashing my head against the wall and may just trash my whole install if I can't get it fixed. If the information is relevant, I'm using gnome2, however I tried switching to another window manager (windowmaker) to verify that the results are the same. I think it is a problem with my X configuration somewhere and not just gnome.
Thanks,
Brandon |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Tue Jul 02, 2002 12:50 am Post subject: Re: truetype fonts look squished with X |
|
|
Hi,
I think I may know what the problem is. You need to edit your /usr/lib/X11/xdm/Xservers file to set the display dpi to a fixed value (I use 100dpi as shown below):
Code: |
:0 local /usr/X11R6/bin/X -dpi 100
|
If you are not using xdm, you need to start the X server with the dpi fixed as shown above.
djresonance wrote: | Hi, I've been battling with this problem for the past couple days. For some reason unbeknownst to me, X has started displaying my truetype fonts squished along the horizontal axis. It's hard to describe, so take a look at this screenshot from gEdit:
http://www.resynthesize.com/Screenshot.png
It is only the truetype fonts that look like this, the regular fonts that come with gnome/X look fine. I've tried everything I can think of so far, completely removed the truetype fonts directory and recreated it using ttmkftdir. It's not just the microsoft TTf's, for instance luxi mono looks all squished as well.
Has anyone seen this problem before? I've looked all over the web and haven't been able to find anything. I'm bashing my head against the wall and may just trash my whole install if I can't get it fixed. If the information is relevant, I'm using gnome2, however I tried switching to another window manager (windowmaker) to verify that the results are the same. I think it is a problem with my X configuration somewhere and not just gnome.
Thanks,
Brandon |
|
|
Back to top |
|
|
djresonance n00b
Joined: 01 Jul 2002 Posts: 13 Location: Sacramento, CA, USA
|
Posted: Thu Oct 03, 2002 7:46 pm Post subject: Re: truetype fonts look squished with X |
|
|
Naan Yaar wrote: | Hi,
I think I may know what the problem is. You need to edit your /usr/lib/X11/xdm/Xservers file to set the display dpi to a fixed value (I use 100dpi as shown below):
Code: |
:0 local /usr/X11R6/bin/X -dpi 100
|
If you are not using xdm, you need to start the X server with the dpi fixed as shown above. |
Alright, I know this is a late response, but hey thanks because this worked! I hadn't had a chance to mess with it until the other day and I dug around. I'm not using XDM, but rather GDM so I had to find the equivelant line in /etc/X11/gdm.conf. Here's the appropriate section, in case another lost soul comes searching later:
Code: |
# Definition of the standard X server.
[server-Standard]
name=Standard server
command=/usr/X11R6/bin/X -dpi 100
flexible=true
|
Thanks,
Brandon |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|