From owner-freebsd-stable Tue Mar 18 8:49:41 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 1D5AD37B401 for ; Tue, 18 Mar 2003 08:49:38 -0800 (PST) Received: from TheWorld.com (pcls2.std.com [199.172.62.104]) by mx1.FreeBSD.org (Postfix) with ESMTP id C754043F93 for ; Tue, 18 Mar 2003 08:49:36 -0800 (PST) (envelope-from kwc@shell.TheWorld.com) Received: from shell.TheWorld.com (root@shell01.TheWorld.com [199.172.62.241]) by TheWorld.com (8.12.8/8.12.8) with ESMTP id h2IGnYDw019709; Tue, 18 Mar 2003 11:49:34 -0500 Received: (from kwc@localhost) by shell.TheWorld.com (8.9.3/8.9.3) id LAA5741960; Tue, 18 Mar 2003 11:49:33 -0500 (EST) Date: Tue, 18 Mar 2003 11:49:33 -0500 (EST) From: Kenneth W Cochran Message-Id: <200303181649.LAA5741960@shell.TheWorld.com> To: Jason Andresen Subject: Re: XFree 4.3.0 / Xft font problems Cc: freebsd-stable@freebsd.org References: <200303181439.JAA5706913@shell.TheWorld.com> 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 >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: >> >> "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 >the font for the menubar IIRC. Try changing your font from serif to >sans-serif. > >Additionally, you're probably having trouble with the antialiased small >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. Where is that kind of thing documented? 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... ;) 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 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 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? Excerpts from XF86Config: (vidcard is Matrox G400 32mb) # This loads the Type1 and FreeType font modules Load "type1" Load "speedo" Load "freetype" # Load "xtt" # This loads the GLX module Load "glx" # This loads the DRI module Load "dri" # From "XFree86 -configure" # Load "extmod" Load "record" Load "xtrap" ... 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/" Is this of any help? Any config changes appropriate? 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 Is there a Better Way To Do This(tm)? ;) Would welcome faq/documentation pointers, both online & printed. 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." Please pardon my, umm, "venting," I'm sure stuff like this will be fixed before long. ;) -kc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message