Zu grosse Schriftart in Debian/Lenny - Fluxbox

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
Benutzeravatar
turrican_2
Beiträge: 25
Registriert: 08.03.2004 22:37:40
Lizenz eigener Beiträge: GNU General Public License
Wohnort: NRW

Zu grosse Schriftart in Debian/Lenny - Fluxbox

Beitrag von turrican_2 » 30.09.2009 23:57:14

Hallo,

ich habe mir auf meinem neuen Lenovo Thinkpad T61 (NVidia NVS 140) ein Debian Lenny installiert. Net-Install CD und beim Letzten Schritt des Setup habe ich alles deaktiviert (auch Basis System und Laptop). Nun habe ich das Problem, dass unter meinem Session-Manager GDM und Window-Manager Fluxbox die Schriftart zu gross ist. Zum Beispiel werden die Menüleiste im Iceweasel zu gross dargestellt, aber nicht die Schrift innerhalb des Browers. Anders wiederum ist es bei XChat, dort sind sämtliche Schriftarten zu gross.

Installiert habe ich folgende Fonts:
xfonts-100dpi
xfonts-100dpi-transcoded
xfonts-75dpi
xfonts-75dpi-transcoded
xfonts-base
xfonts-mathml
xfonts-encodings
xfonts-scalable
xfonts-utils
xfonts-terminus

xfs habe ich ebenfalls installiert, dieser gibt auch an beim Bootstrap fehlerfrei zu starten.

Als Grafiktreiber habe ich folgendes installiert: NVIDIA-Linux--x86-185.18.36-pkg1.run

Würde mich über ein paar Lösungsansätze freuen! :-)

Vielen Dank.


Viele Grüsse
Turrican
http://www.fsfe.org -> Join the Fellowship and protect your freedom!

Benutzeravatar
turrican_2
Beiträge: 25
Registriert: 08.03.2004 22:37:40
Lizenz eigener Beiträge: GNU General Public License
Wohnort: NRW

Re: Zu grosse Schriftart in Debian/Lenny - Fluxbox

Beitrag von turrican_2 » 01.10.2009 22:22:45

Hallo,

die Lösung meines Problems war der fehlende DPI Eintrag in der /etc/X11/xorg.conf.

Eine ausführliche Anleitung findet Ihr hier:
http://wiki.archlinux.org/index.php/Xor ... Size.2FDPI

The formula for calculating the DisplaySize values is Width (in inches) x 25.4 / DPI and Height (in inches) x 25.4 / DPI. If you're running Xorg with a resolution of 1024x768 and want a DPI of 96, use 1024 x 25.4 / 96 and 768 x 25.4 / 96. Round numbers down. (xorg expects width/height specifications to be given in milimeters. There are 25.4 milimeters per inch, thus the need to multiply by 25.4)

Code: Alles auswählen

# calc: (x|y)pixels * 25.4 / dpi
# DisplaySize 168 126 # 96 DPI @ 640x480
# DisplaySize 210 157 # 96 DPI @ 800x600
# DisplaySize 269 201 # 96 DPI @ 1024x768
# DisplaySize 302 227 # 96 DPI @ 1152x864
# DisplaySize 336 252 # 96 DPI @ 1280x960
# DisplaySize 336 210 # 96 DPI @ 1280x800 (non 4:3 aspect)
# DisplaySize 339 271 # 96 DPI @ 1280x1024 (non 4:3 aspect)
# DisplaySize 370 277 # 96 DPI @ 1400x1050
# DisplaySize 380 238 # 96 DPI @ 1440x900 (non 4:3 aspect)
# DisplaySize 420 315 # 96 DPI @ 1600x1200
# DisplaySize 444 277 # 96 DPI @ 1680x1050 (non 4:3 aspect)
# DisplaySize 506 315 # 96 DPI @ 1920x1200 (non 4:3 aspect)

Code: Alles auswählen

 Section "Monitor"
   ...
 DisplaySize 444 277 # 96 DPI @ 1680x1050
   ...
EndSection
In case X ignores your DisplaySize setting (known bug) add the following line in the Device section.

Code: Alles auswählen

 Option   "NoDDC" "true"
For nVidia drivers you may have to disable automatic detection of DPI to set it manually. There is also an easier way to set DPI on these cards. Either or both of the following lines can be set in the device section for your nVidia card.

Code: Alles auswählen

  Option   "UseEdidDpi" "false"
  Option   "DPI" "96 x 96"

Viele Grüsse
Turrican
http://www.fsfe.org -> Join the Fellowship and protect your freedom!

Antworten