From owner-freebsd-stable Tue Mar 18 9:55:28 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8F4737B401 for ; Tue, 18 Mar 2003 09:55:23 -0800 (PST) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFECD43F75 for ; Tue, 18 Mar 2003 09:55:22 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from [10.2.1.4] (vpn-client-4.marcuscom.com [10.2.1.4]) by creme-brulee.marcuscom.com (8.12.8/8.12.8) with ESMTP id h2IHs9rI023373; Tue, 18 Mar 2003 12:54:09 -0500 (EST) (envelope-from marcus@marcuscom.com) Subject: Re: XFree 4.3.0 / Xft font problems From: Joe Marcus Clarke To: Kenneth W Cochran Cc: Jason Andresen , freebsd-stable@FreeBSD.ORG In-Reply-To: <200303181649.LAA5741960@shell.TheWorld.com> References: <200303181439.JAA5706913@shell.TheWorld.com> <200303181649.LAA5741960@shell.TheWorld.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-1znSChK7W/4Q1wEtEaFe" Organization: MarcusCom, Inc. Message-Id: <1048010115.348.81.camel@dhcp-528-2140> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 18 Mar 2003 12:55:16 -0500 X-Spam-Status: No, hits=-39.2 required=5.0 tests=BAYES_00,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,QUOTE_TWICE_1,REFERENCES, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-1znSChK7W/4Q1wEtEaFe Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2003-03-18 at 11:49, Kenneth W Cochran wrote: > >Date: Tue, 18 Mar 2003 10:27:44 -0500 > >From: Jason Andresen > >To: Kenneth W Cochran > >Cc: freebsd-stable@FreeBSD.ORG > >Subject: Re: XFree 4.3.0 / Xft font problems > > > >Kenneth W Cochran wrote: > >>=20 > >> "Regular" xchat 1.8.11 and gaim 0.59.9 look fine. > >> Mozilla built without Xft (-DWITHOUT_XFT) looks ok (menu bar > >> looks good, as with other apps) but not great (displayed > >> text looks "ok" but not very good). > > > >Mozilla uses whatever you have configured in the preferences panel as=20 > >the font for the menubar IIRC. Try changing your font from serif to=20 > >sans-serif. > > > >Additionally, you're probably having trouble with the antialiased small=20 > >text. You might want to try creating a /usr/X11R6/etc/fonts/local.conf > >file with the following lines: > > > > > > > > > > > > 12 > > > > > > false > > > > > > > >And see if that's any easier on your eyes. >=20 > Where is that kind of thing documented? http://www.freebsd.org/gnome/docs/faq2.html#q10 But I want to rewrite the fonts section of the handbook. > And how can I "isolate" these changes across OS/system > maintenance/upgrades? > Why does the "default install" look so bad? (Hmm, maybe > don't answer that... ;) >=20 > As installed, Mozilla-1.3b,1 fonts: (WITHOUT_XFT) > Proportional: Serif 12 pixels > Serif: adobe-avantgarde-iso8859-1 > Sans-serif: (same) > Cursive: (same) > Fantasy: (same) > Monospace: (same) 16 pixels >=20 > As installed, Mozilla-1.3b,1 fonts: (default build, with Xft) > Proportional: Serif 12 pixels > Serif: Bitstream Charter > Sans-serif: (same) > Cursive: (same) > Fantasy: (same) > Monospace: (same) 16 pixels >=20 > So where are the various "font classes" (for want of a > better term) "used?" And how do I fix this stuff for (for > examples) the Xft-enabled versions of other clients? Not sure how to answer this. I'm not sure exactly what you're looking for. However, for a better Xft look, I recommend installing x11-fonts/bitstream-vera. Those fonts look quite nice. I also recommend using a sans serif font. >=20 > Excerpts from XF86Config: (vidcard is Matrox G400 32mb) >=20 > # This loads the Type1 and FreeType font modules > Load "type1" > Load "speedo" > Load "freetype" > # Load "xtt" >=20 > # This loads the GLX module > Load "glx" > # This loads the DRI module > Load "dri" >=20 > # From "XFree86 -configure" > # Load "extmod" > Load "record" > Load "xtrap" > ... >=20 > FontPath "/usr/X11R6/lib/X11/fonts/local/" > FontPath "/usr/X11R6/lib/X11/fonts/misc/" > FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" > FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" > FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" > FontPath "/usr/X11R6/lib/X11/fonts/Type1/" > # FontPath "/usr/X11R6/lib/X11/fonts/TrueType/" > # FontPath "/usr/X11R6/lib/X11/fonts/freefont/" > FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" > FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" > FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/" > FontPath "/usr/X11R6/lib/X11/fonts/URW/" >=20 > Is this of any help? Any config changes appropriate? This doesn't affect Xft. For Xft, the fc-cache command with fonts.conf affects what fonts and directories will be used. >=20 > X was configured thusly: > 1. As root, "XFree86 -configure" > 2. As root, "xf86config" - answer the questions & write out XF86Config > 3. Customize XF86Config: > a. Carefully "merge" the XF86Config.new into XF86Config. > b. Add URW fonts per requirements for some ports. > c. "other stuff" as appropriate >=20 > Is there a Better Way To Do This(tm)? ;) > Would welcome faq/documentation pointers, both online & printed. I'm going to work on this. Joe >=20 > > Complexities/oddities such as this are, I think, > part of what hinders "public/PHB acceptance" of > Unix/Linux/*BSD/opensource and keeps in place certain > monopolies. As a friend of mine says, "you have to have > a Decoder Ring to run this stuff." > >=20 > Please pardon my, umm, "venting," I'm sure stuff like this > will be fixed before long. ;) >=20 > -kc >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-1znSChK7W/4Q1wEtEaFe Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+d12Db2iPiv4Uz4cRAoz9AJ46615uHKpBScVLXWH7M2uCFaZESACgj0et 7fdL+Bj2DFSxnRJbXhDX8DI= =am7v -----END PGP SIGNATURE----- --=-1znSChK7W/4Q1wEtEaFe-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message