From owner-freebsd-current@FreeBSD.ORG Wed Aug 24 12:52:10 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05C7016A41F for ; Wed, 24 Aug 2005 12:52:10 +0000 (GMT) (envelope-from lofi@freebsd.org) Received: from mail-in-08.arcor-online.net (mail-in-08.arcor-online.net [151.189.21.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28C9F43D46 for ; Wed, 24 Aug 2005 12:52:09 +0000 (GMT) (envelope-from lofi@freebsd.org) Received: from mail-in-04-z2.arcor-online.net (mail-in-04-z2.arcor-online.net [151.189.8.16]) by mail-in-08.arcor-online.net (Postfix) with ESMTP id 122E873011 for ; Wed, 24 Aug 2005 14:52:08 +0200 (CEST) Received: from mail-in-01.arcor-online.net (mail-in-01.arcor-online.net [151.189.21.41]) by mail-in-04-z2.arcor-online.net (Postfix) with ESMTP id EE97F126028 for ; Wed, 24 Aug 2005 14:52:05 +0200 (CEST) Received: from lofi.dyndns.org (dsl-213-023-194-048.arcor-ip.net [213.23.194.48]) by mail-in-01.arcor-online.net (Postfix) with ESMTP id 64CAD24CA0 for ; Wed, 24 Aug 2005 14:52:07 +0200 (CEST) Received: from kiste.my.domain (root@kiste.my.domain [192.168.8.4]) by lofi.dyndns.org (8.13.3/8.13.3) with ESMTP id j7OCq5Oq005429 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 24 Aug 2005 14:52:05 +0200 (CEST) (envelope-from lofi@freebsd.org) Received: from kiste.my.domain (lofi@localhost [127.0.0.1]) by kiste.my.domain (8.13.3/8.13.1) with ESMTP id j7OCq41s051057 for ; Wed, 24 Aug 2005 14:52:05 +0200 (CEST) (envelope-from lofi@freebsd.org) Received: by kiste.my.domain (8.13.3/8.13.1/Submit) id j7OCq47W051056 for freebsd-current@freebsd.org; Wed, 24 Aug 2005 14:52:04 +0200 (CEST) (envelope-from lofi@freebsd.org) X-Authentication-Warning: kiste.my.domain: lofi set sender to lofi@freebsd.org using -f From: Michael Nottebrock To: freebsd-current@freebsd.org Date: Wed, 24 Aug 2005 14:51:56 +0200 User-Agent: KMail/1.8.2 References: <200508231352.j7NDqmGo068047@lurza.secnetix.de> In-Reply-To: <200508231352.j7NDqmGo068047@lurza.secnetix.de> X-Face: =Ym$`&q\+S2X$4`X%x%6"L4>Y, $]<":'L%c9"#7#`2tb&E&wsN31on!N\)3BD[g<.jnfV[ 3#>XchLK,o; >bD>c:]^; :>0>vyZ.X[,63GW`&M>}nYnr]-Fp``,[[@lJ!QL|sfW!s)A2!* vNkB/|L->&QdSbQg Content-Type: multipart/signed; boundary="nextPart4852679.SK9IBhm26P"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Subject: Re: fontsize and dpi (was Re: Beta2: Nice job!) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2005 12:52:10 -0000 --nextPart4852679.SK9IBhm26P Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday, 23. August 2005 15:52, Oliver Fromme wrote: > I haven't seen any cases recently where the DPI was > set correctly by default.=20 The key to DPMS-assisted dpi detection is putting Option "DPMS" into each Section "Monitor". If that still fails (and it really shouldn't(*= ),=20 one should grab the technical data page from the display handbook (or a=20 measuring tape) and feed X the physical size of the visible display like=20 this: DisplaySize 300 240 ^ ^ width height in millimeters again in Section "Monitor". (*) Xorg/XFree86's configuration file parser however has very sophisticated= =20 ways to shoot itself in the foot. For instance, I only recently spent about= =20 an hour figuring out why someone's X' DPI didn't get set correctly although= =20 X' own debug messages indicated that it had retrieved DPI data over DPMS=20 (after adding Options "DPMS" to the monitor sections). In the end it turned= =20 out that there was no DefaultDepth line in Section "Screen" - X would start= =20 anyway, in the highest depth available, but would set the DPI to an insane= =20 value. This was with the 'nv' driver. =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --nextPart4852679.SK9IBhm26P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDDG1uXhc68WspdLARAk4rAJ957iKtdf5lZ8RvjQNRRywV+M3RkgCdFVZY O0TcAq8NPjC8UwOW5v/wn1E= =hjaY -----END PGP SIGNATURE----- --nextPart4852679.SK9IBhm26P--