Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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 <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:
> >>=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:
> >
> ><!-- Fontconfig local overrides -->
> >
> ><match target=3D"pattern">
> >         <test qual=3D"any" name=3D"size" compare=3D"less_eq">
> >                 <double>12</double>
> >         </test>
> >         <edit name=3D"antialias" mode=3D"assign">
> >                 <bool>false</bool>
> >         </edit>
> ></match>
> >
> >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
> <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>
>=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




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