You are not logged in.

#26 2005-03-18 02:49:04

WiLLiE
Member
From: Sweden
Registered: 2005-02-27
Posts: 133

Re: Same X fonts w/ same settings look worse than other distros

This info really made my fonts look nice.

However, a few things i'm uncertain of:

I measuered my screen and put these in my xorg.conf (monitor section):
DisplaySize 377 330

/var/log/Xorg.0.log reports:

(II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
(**) NVIDIA(0): Display dimensions: (377, 330) mm
(WW) NVIDIA(0): Probed monitor is 370x300 mm, using Displaysize 377x330 mm

Could the size really differ that much?

On to the next question...
xdpyinfo gives me:

screen #0:
  print screen:    no
  dimensions:    1280x1024 pixels (378x333 millimeters)
  resolution:    86x78 dots per inch

/var/log/Xorg.0.log reports the same:

(**) NVIDIA(0): DPI set to (86, 78)

Is a square DPI so much better?
If so, what do I need to do to tell X to use my preferred square DPI?

As told to earlier in this thread, I got the DPI from xdpyinfo (86), and
put that into /etc/fonts/local.conf

<!-- Setup DPI (Huyndai) -->
        <match target="pattern">
                <edit name="dpi" mode="assign"><double>86</double></edit>
        </match>

This still gives me a DPI of 86x78.
Oh, and since I don't have a square DPI, wont this be bad?
I mean "<double>86</double>" isn't true here since I dont have 86x86 DPI?

Or perhaps I can't have a square DPI since the size of my display is 377x330 (mm)?

My monitor is the Huyndai 19" L90D+ (TFT).

Offline

#27 2005-03-18 16:32:02

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Same X fonts w/ same settings look worse than other distros

the dpi of fonts and the dpi of the X server are two different things...
and you're probably going to want 96dpi (windows uses this) or 100dpi.

try running "startx -dpi 96"... I think that's right... and also set the local.conf dpi to 96... see if that looks any better...

as for display size, nvidia does a good job with mine, so I leave it alone..

Offline

#28 2005-03-18 18:47:15

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,615
Website

Re: Same X fonts w/ same settings look worse than other distros

startx -- -dpi 96

I think you need the -- first..


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#29 2005-03-18 19:05:17

WiLLiE
Member
From: Sweden
Registered: 2005-02-27
Posts: 133

Re: Same X fonts w/ same settings look worse than other distros

startx -- -dpi 96

I think you need the -- first..

Thanks. Gonna try that..
"startx -dpi 96" did not work.

Strange, but having a dpi of 86 in my /etc/fonts/local.conf looked better than 96.
Will try the startx dpi switch and see if that makes any difference.

edit:
The DPI switch made quite a difference, as can be seen in this picture:
http://willie.pointclark.net/dpi.png
Left: font - 86dpi
Right: font - 96dpi + "-- -dpi96" switch

Makes me wonder what the default DPI for X are.. 100?
And if I use gdm/xdm.. where do i set the "-- -dpi96" switch?

Offline

#30 2005-03-19 02:44:21

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: Same X fonts w/ same settings look worse than other distros

Default dpi is determined automatically by xorg using DisplaySize (calculated or from xorg.conf) and target screen resolution.

You should experiment with different settings. You can cheat xorg by changing DisplaySize a little to have square dpi and use the same dpi setting in /etc/fonts/local.conf. Theoretically this should give the best quality. But there are many different opinions about this.

Also it depends on what fonts are used. For example windows uses always 96dpi as default. So ms ttf fonts are designed to work best with 96dpi.

Read this
http://www.tldp.org/HOWTO/XWindow-User- … ningx.html
for info about setting dpi with gdm/xdm (if you don't want to use displaysize).

Offline

Board footer

Powered by FluxBB