[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: DPI in intel modesetting driver

* Adam Jackson (2007-01-04 10:17 -0500) said:
> The DPI setting reported by X is the physical dots per inch of the
> monitor.  You never want to override this, because it determines how
> big Freetype thinks pixels really are, and therefore affects
> coloration when doing subpixel antialiasing.  X should be getting it
> correct.

But X detects the physical DPI wrong. My screen is LCD on a laptop
DEll 700M with 1280x800 pixels (262x164 millimeters).

If I set "DisplaySize 261 163" in xorg.conf. The dpi is 124x124.

> X's DPI number also happens to get used when rendering core fonts,
> as a conversion factor between point size and pixels.  If you still
> have any apps that use core fonts, well, you have already lost, and
> changing X's DPI setting to make them look "better" will just make
> your non-core fonts look worse.

Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]