View previous topic :: View next topic |
Author |
Message |
Black666 n00b
Joined: 15 Jul 2002 Posts: 61 Location: Vienna (Austria)
|
Posted: Thu Jul 18, 2002 7:26 am Post subject: Fonts too small... |
|
|
Hi!
I posted a while ago about a problem with fonts....I reinstalled X and kde tried every hint I got but still no effect.
I have default installation of gentoo with X and kde. When I start kdm, the login manager comes up and the screen looks fine so far...except of the fonts. They are so small that I can't even read the logon details I write.
When I type a long sentence it looks like a long line ("------")
I've uploaded my XF86Config and my XFree86.0.log but I can't find anything wrong with it ... I also compared it with configs of other people and everything seems ok.
http://www.thebigf.com/~black/tmp/XF86Config
http://www.thebigf.com/~black/tmp/XFree86.0
What can be the problem here?[/url] |
|
Back to top |
|
|
Black666 n00b
Joined: 15 Jul 2002 Posts: 61 Location: Vienna (Austria)
|
Posted: Thu Jul 18, 2002 8:54 am Post subject: |
|
|
Installed gnome and started it with gdm .... the same problem.
So there is something wrong with my Xserver....
I installed it twice and no change...there has to be some hint out there |
|
Back to top |
|
|
pablored Tux's lil' helper
Joined: 01 May 2002 Posts: 96
|
Posted: Thu Jul 18, 2002 10:30 am Post subject: |
|
|
look in /etc/X11/xfs/config
this is in mine:
Code: |
# in 12 points, decipoints
default-point-size = 120
|
...altering this number might work |
|
Back to top |
|
|
Black666 n00b
Joined: 15 Jul 2002 Posts: 61 Location: Vienna (Austria)
|
Posted: Thu Jul 18, 2002 10:43 am Post subject: |
|
|
I have the same settings in my config.
Btw: you mean /etc/X11/fs/config and not /etc/X11/xfs/config do you?
Ah, and when I do a /etc/init.d/xfs status I get a "status:stopped"
Should it be started? And if yes, why isn't it started automatically?
Thnx so far for the hint. |
|
Back to top |
|
|
pablored Tux's lil' helper
Joined: 01 May 2002 Posts: 96
|
Posted: Thu Jul 18, 2002 11:23 am Post subject: |
|
|
You could try using this font server, it could give you more control. It isn't started/used by default, so would need a little bit of setting up (there are a few threads on this).
As it stands I don't think I know how to solve your problem, but this 'could' be a work-a-round. Worth a try?
I consider this a good font related link:
https://forums.gentoo.org/viewtopic.php?t=1282&highlight=mozilla |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Thu Jul 18, 2002 11:48 am Post subject: |
|
|
You display resolution seems to be totally mucked up, as reported by these two lines in the log:
Code: |
(--) S3VIRGE(0): Display dimensions: (1270, 1270) mm
(--) S3VIRGE(0): DPI set to (15, 11)
|
I am certain that you don't have a 1.3m display DPI should range in the 100 range for typical monitors. You can try forcing the DPI by providing the "-dpi" option to your X server. Where you put it depends on how you start your X session.
You don't need to run xfs just to fix this problem, I am sure. |
|
Back to top |
|
|
Black666 n00b
Joined: 15 Jul 2002 Posts: 61 Location: Vienna (Austria)
|
Posted: Thu Jul 18, 2002 12:00 pm Post subject: |
|
|
Mhmm, interesting. But why does X think that I have such a big display??
It was just a default installation and during xf86configure I only specified the frequency of my monitor (Hor. 30-95 Ver. 50-160)
How do I set the dpi manually?
Thnx for the help so far!! |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Thu Jul 18, 2002 12:08 pm Post subject: |
|
|
Depends on how you start X. kdm or gdm or startx?
[quote="Black666"]...
How do I set the dpi manually?
.../quote] |
|
Back to top |
|
|
Black666 n00b
Joined: 15 Jul 2002 Posts: 61 Location: Vienna (Austria)
|
Posted: Thu Jul 18, 2002 12:20 pm Post subject: |
|
|
kdm
I only tried gdm because I hoped the fonts would work with gdm... |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Thu Jul 18, 2002 12:25 pm Post subject: |
|
|
Change the last line in /etc/X11/xdm/Xservers to something like:
Code: |
:0 local /usr/X11R6/bin/X -dpi 100
|
You may have to use -dpi 75 or so depending on your monitor size. Restart kdm (it may reread this file on a HUP signal, but I'm not sure). You should be OK after then.
After you restart kdm, do:
Irt should show you the dpi option in the X command line if you have done it correctly.
Black666 wrote: | kdm
I only tried gdm because I hoped the fonts would work with gdm... |
|
|
Back to top |
|
|
silverter Guru
Joined: 10 Apr 2002 Posts: 491 Location: Ulm, DE
|
Posted: Thu Jul 18, 2002 1:06 pm Post subject: |
|
|
try changing to fonts order in your XF86Config file to read this:
Code: | FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
|
Good Luck _________________ -- A Guru was once a Beginner -- |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Thu Jul 18, 2002 1:41 pm Post subject: |
|
|
Doing this should just prevent bitmap fonts from being scaled. His problem seems to be related to wrong dpi settings...
silverter wrote: | try changing to fonts order in your XF86Config file to read this:
Code: | FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
|
Good Luck |
|
|
Back to top |
|
|
Black666 n00b
Joined: 15 Jul 2002 Posts: 61 Location: Vienna (Austria)
|
Posted: Thu Jul 18, 2002 2:04 pm Post subject: |
|
|
@Naan Yaar: THNX so much!!! That did it.
I still wonder why X is thinking that I have a 1.3m display? |
|
Back to top |
|
|
TripKnot Apprentice
Joined: 29 May 2002 Posts: 213
|
Posted: Thu Jul 18, 2002 2:53 pm Post subject: |
|
|
This is a known bug in X and has been addressed in 4.2.99 for the next release 4.3.0. There is a masked ebuild for 4.2.99 if you want to try it. You may also try setting your correct display dimension in /etc/X11/XF86Config in the "Monitor section, eg:
DisplaySize x y # in mm |
|
Back to top |
|
|
|