Date: 18 Mar 2003 12:55:16 -0500 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Kenneth W Cochran <kwc@TheWorld.com> Cc: Jason Andresen <jandrese@mitre.org>, freebsd-stable@FreeBSD.ORG Subject: Re: XFree 4.3.0 / Xft font problems Message-ID: <1048010115.348.81.camel@dhcp-528-2140> In-Reply-To: <200303181649.LAA5741960@shell.TheWorld.com> References: <200303181439.JAA5706913@shell.TheWorld.com> <200303181649.LAA5741960@shell.TheWorld.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Tue, 2003-03-18 at 11:49, Kenneth W Cochran wrote: > >Date: Tue, 18 Mar 2003 10:27:44 -0500 > >From: Jason Andresen <jandrese@mitre.org> > >To: Kenneth W Cochran <kwc@theworld.com> > >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: > > > ><!-- Fontconfig local overrides --> > > > ><match target="pattern"> > > <test qual="any" name="size" compare="less_eq"> > > <double>12</double> > > </test> > > <edit name="antialias" mode="assign"> > > <bool>false</bool> > > </edit> > ></match> > > > >And see if that's any easier on your eyes. > > 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... ;) > > 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? 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. > > 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? This doesn't affect Xft. For Xft, the fc-cache command with fonts.conf affects what fonts and directories will be used. > > 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. I'm going to work on this. Joe > > <semi-rant> > 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." > </semi-rant> > > 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 -- PGP Key : http://www.marcuscom.com/pgp.asc [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+d12Db2iPiv4Uz4cRAoz9AJ46615uHKpBScVLXWH7M2uCFaZESACgj0et 7fdL+Bj2DFSxnRJbXhDX8DI= =am7v -----END PGP SIGNATURE-----help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1048010115.348.81.camel>
