LinuxMCE Forums

General => Installation issues => Topic started by: zherlock on September 26, 2007, 01:30:06 pm

Title: X / KDE Font size incredible small! Unreadable Font
Post by: zherlock on September 26, 2007, 01:30:06 pm
Hi,

I got my display set to 720p on a Intel i910 Graphics adapter.
My resoluition is now 1280x720 and vide is great.

However, the font size in KDE/X is unreadable, which makes it impossible to start admin web interface and such.
When in MediaCenter buttons/Fonts are OK, but font in the launch manager and so on is unreadable.

Font "PPI" is set to 20x20 for some reason, I need to override this to 96dpi or something.
I have tryed lots of "general X server" sollutions for this override, with no success.

Please advice.

Thanx! :)
Title: Re: X / KDE Font size incredible small! Unreadable Font
Post by: Zaerc on September 26, 2007, 01:55:08 pm
This problem is addressed on the "Display Drivers" page in the wiki.
Title: Re: X / KDE Font size incredible small! Unreadable Font
Post by: zherlock on September 26, 2007, 04:10:36 pm
Found it by searching for "Font"
http://wiki.linuxmce.org/index.php/Display_Drivers


To ease the paint and suffering of others:
http://wiki.linuxmce.org/index.php/Display_Drivers#Microscopic_fonts_in_KDE




 Physical display size

Like specifying the refresh rate his is optional but sometimes necessary, most of the time it is either detected or some sane defaults are used but sometimes it isn't, which can result in unreadable font sizes.

Section "Monitor"
  ...
  DisplaySize 155 95
EndSection

Where you have to replace the numbers with the physical width and height of your screen in millimeters (1" = 25mm), however these are for a small touchscreen.
Title: Re: X / KDE Font size incredible small! Unreadable Font
Post by: MarcoZan on October 16, 2007, 06:25:44 pm
Hi all

I have followed the hints found on wiki pages, but still my fonts are extremely small.

I'm trying to display fonts on a 42" plasma tv, so I put the following in my xorg.conf:

Section "Monitor"
  ...
  DisplaySize 900 500
EndSection

Even rebooting MD does not change anything.

Anyone else with the same issue?

TIA
Marco
Title: Re: X / KDE Font size incredible small! Unreadable Font
Post by: totallymaxed on October 16, 2007, 06:35:51 pm
Hi all

I have followed the hints found on wiki pages, but still my fonts are extremely small.

I'm trying to display fonts on a 42" plasma tv, so I put the following in my xorg.conf:

Section "Monitor"
  ...
  DisplaySize 900 500
EndSection

Even rebooting MD does not change anything.

Anyone else with the same issue?

TIA
Marco

Same problem here on large Plasma's... and adding the DisplaySize line in xorg does not seem to fix it for us either :-(
Title: Re: X / KDE Font size incredible small! Unreadable Font
Post by: Zaerc on October 16, 2007, 07:25:10 pm
I could have sworn I replied to this thread again already, oh well.

What DPI-related values do you guys see in /var/log/Xorg.0.log?  As you can see my display is detected a bit larger then it actually is.
Code: [Select]
(**) fglrx(0): Display dimensions: (155, 95) mm
(WW) fglrx(0): Probed monitor is 2550x2550 mm, using Displaysize 155x95 mm
(**) fglrx(0): DPI set to (104, 128)
(--) fglrx(0): Virtual size is 640x480 (pitch 640)
Title: Re: X / KDE Font size incredible small! Unreadable Font
Post by: MarcoZan on October 16, 2007, 11:40:39 pm
Hi Zaerc

I'm not a guru with Xorg conf, so most probably I'm missing something that you may find very obvious.

My Xorg.0.log looks like this:

Code: [Select]
(**) VIA(0): Display dimensions: (930, 530) mm
(**) VIA(0): DPI set to (21, 28)

Resolution is 800X600
Display dimension is correct, DPI I guess not.

Any clue?

TIA
Marco
Title: Re: X / KDE Font size incredible small! Unreadable Font
Post by: Zaerc on October 17, 2007, 03:16:40 pm
It seems that for nVidia, you can set these options in the device section for your nVidia card:
Code: [Select]
  Option   "UseEdidDpi" "false"
  Option   "DPI" "96 x 96"

More specificly there is a command line option "-dpi #" for the X-server, but I'm not sure where it actually gets started in the scripts. 

You could try adding "-dpi 96" to the end of the line "ServerArgsLocal=-nolisten tcp" in /etc/kde3/kdm/kdmrc with a text editor.  But maybe it's better to add it somewhere on the "xinit" line in /usr/pluto/bin/Start_X_Wrapper.sh, or even in the xinit script itself, I'm not sure.
Title: Re: X / KDE Font size incredible small! Unreadable Font
Post by: MarcoZan on October 17, 2007, 09:28:37 pm
Hi Zaerc

I followed your second advice and ... it worked!!

I edited /usr/pluto/bin/Start_X_Wrapper.sh and added a -dpi 96 to the "xinit" line, then rebooted MD and fonts are now displayed fine.

Will try to add this to wiki

Thanks a lot.
Marco
Title: Re: X / KDE Font size incredible small! Unreadable Font
Post by: tux-box1 on December 27, 2010, 11:45:52 pm
Hello all, I once had this problem on a non mce system using kubuntu.. I found a DPI option under system settings: appearance, font, force fonts DPI. I set this to 96, and that fixed most of my LMCE problems; however when I open firefox the font in the menu and tital bar is too small. Other fonts are small as well like menus, and selection dialogs..  I edited /usr/pluto/bin/Start_X_Wrapper.sh and added a "-dpi 96" to the "xinit" line with out the "" that is.. Every thing looks much better now. Thanks all