Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Aug 2005 11:45:09 +0200
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        Stijn Hoop <stijn@win.tue.nl>
Cc:        Andrew Gallatin <gallatin@cs.duke.edu>, Andreas Hauser <andy@splashground.de>, "Devon H.O'Dell" <dodell@offmyserver.com>, Stefan Ehmann <shoesoft@gmx.net>, freebsd-chat@freebsd.org, Eric Anderson <anderson@centtech.com>
Subject:   Re: fontsize and dpi
Message-ID:  <86zmr78y8q.fsf@xps.des.no>
In-Reply-To: <20050824083802.GG67999@pcwin002.win.tue.nl> (Stijn Hoop's message of "Wed, 24 Aug 2005 10:38:02 %2B0200")
References:  <17161.55733.272571.61428@grasshopper.cs.duke.edu> <20050822140150.GB27233@raqdevil.offmyserver.com> <20050822185748.22499.qmail@paladin.fortunaty.net> <20050823124028.GA67999@pcwin002.win.tue.nl> <1124872145.1476.5.camel@taxman.pepperland> <20050824083802.GG67999@pcwin002.win.tue.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Stijn Hoop <stijn@win.tue.nl> writes:
> I don't know when X gained the capability to decipher this on its own, but
> I know that lots of people were running with 75dpi on 100dpi monitors,
> resulting in horrible default fonts etc. One of the problems with webpages
> in *nix vs Windows, differing fontsizes, is caused by exactly this.

X will correctly determine the physical resolution on DDC-capable
monitors (with a DDC-capable graphics adapter, of course).  Otherwise,
it assumes 75dpi.  You can of course specify the correct resolution on
the command line, or (better yet) specify the display dimensions in
the configuration file and let X figure out the resolution.

BTW, back in the bad old days before Xft, X had 75dpi and 100dpi
renderings of most fonts and no good way to adapt those to
intermediate resolutions.  This is still the case for the most
commonly used monospace fonts.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86zmr78y8q.fsf>