Author Topic: X / KDE Font size incredible small! Unreadable Font  (Read 7630 times)

zherlock

  • Newbie
  • *
  • Posts: 7
    • View Profile
X / KDE Font size incredible small! Unreadable Font
« 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! :)

Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: X / KDE Font size incredible small! Unreadable Font
« Reply #1 on: September 26, 2007, 01:55:08 pm »
This problem is addressed on the "Display Drivers" page in the wiki.
"Change is inevitable. Progress is optional."
-- Anonymous


zherlock

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: X / KDE Font size incredible small! Unreadable Font
« Reply #2 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.
« Last Edit: September 26, 2007, 04:20:12 pm by zherlock »

MarcoZan

  • Veteran
  • ***
  • Posts: 148
    • View Profile
Re: X / KDE Font size incredible small! Unreadable Font
« Reply #3 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

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: X / KDE Font size incredible small! Unreadable Font
« Reply #4 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 :-(
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: X / KDE Font size incredible small! Unreadable Font
« Reply #5 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)
"Change is inevitable. Progress is optional."
-- Anonymous


MarcoZan

  • Veteran
  • ***
  • Posts: 148
    • View Profile
Re: X / KDE Font size incredible small! Unreadable Font
« Reply #6 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

Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: X / KDE Font size incredible small! Unreadable Font
« Reply #7 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.
"Change is inevitable. Progress is optional."
-- Anonymous


MarcoZan

  • Veteran
  • ***
  • Posts: 148
    • View Profile
Re: X / KDE Font size incredible small! Unreadable Font
« Reply #8 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

tux-box1

  • Veteran
  • ***
  • Posts: 80
    • View Profile
Re: X / KDE Font size incredible small! Unreadable Font
« Reply #9 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