[Pkg-xfce-devel] Bug#284229: Bug#284229: bug #284229

Alexander Toresson alexander.toresson at gmail.com
Sun Sep 16 21:48:56 UTC 2007


On 9/16/07, Michael Gilbert <michael.s.gilbert at gmail.com> wrote:
> > > as a user, i expect the font to always be the same, regardless of the
> > > number of dots per inch computed.
> >
> > well, a 8 points font won't look the same if you change the number of
> > points displayed per inches.
>
> i'd expect the font to be the same size regardless of dpi, but it
> would look really bad at the low dpi setting,  rather than being
> shrunk.
>

I'm sorry, but that doesn't make any sense. Font sizes are specified
in points. Note that points are not the same as pixels. Then to figure
out how big the font should be in pixels, the X server's dpi setting
is used. This is so a font of a given point size will be the same size
on all monitors, as long as you have specified the right dpi for it.
If you specify a too big dpi setting, your fonts will be too big and
if it is too small, the fonts will be too small.

I think I understand what you're thinking, though. You're thinking dpi
in terms of printers, where the dpi you print with specifies the
quality of the print. However, your monitor does at a given resolution
only have one dpi, which can be calculated from the size of the
monitor and the resolution. If the 'real' dpi of your monitor is 100
dpi, and you set it to 200 dpi, this would result in kinda the same
result as you would get if you send picture data at 200 dpi to your
printer _when it expects 100 dpi  data_. That is, stuff will be
printed as twice as big as was intended.

Regards, Alexander Toresson





More information about the Pkg-xfce-devel mailing list