[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Font foundry problems with xfs 4.0.1



On Tue, Nov 14, 2000 at 04:16:04PM -0500, Ben Darnell wrote:
> Using the font server from XFree86 4.0.1, some fonts have different
> foundries depending on whether they are bold, italic, etc.  For
> instance,
> %xlsfonts|grep verdana
> -microsoft-verdana-medium-r-normal--0-0-0-0-p-0-iso8859-1
> -microsoft-verdana-medium-r-normal--0-0-0-0-p-0-iso8859-1
> -misc-verdana-bold-i-normal--0-0-0-0-p-0-iso8859-1
> -misc-verdana-bold-i-normal--0-0-0-0-p-0-iso8859-1
> -misc-verdana-bold-r-normal--0-0-0-0-p-0-iso8859-1
> -misc-verdana-bold-r-normal--0-0-0-0-p-0-iso8859-1
> -misc-verdana-medium-i-normal--0-0-0-0-p-0-iso8859-1
> -misc-verdana-medium-i-normal--0-0-0-0-p-0-iso8859-1
> 
> This causes some websites to not display correctly, since <font
> face="verdana"><b> looks for verdana, finds -microsoft-verdana-, and
> then looks for a bold version of -microsoft-verdana- instead of
> -*-verdana-.  (Both Netscape 4.7 and Mozilla M18 exhibit this behavior).
> 
> Is this a configuration problem on my end, or is it a problem with the
> fonts themselves?

Yes, it is ;)

I'm assuming you used ttmkfdir to create the fonts.dir file. Chances are
the misc versions of Verdana are some old/broken version (i recently
downloaded the fonts (and extracted using WinZip, didn't see any EULA)
and ttmkfdir read them fine), and so it put the fonts into the default
foundry for fonts that don't specify a foundry.

It's also a configuration problem on your end, because fonts.dir lists
the fonts incorrectly. Editing that (and any other fonts.* files that
mention it) should fix the problem. Unless xfs doesn't use fonts.dir...
but why wouldn't it?


-- 
  finger for GPG public key.

Attachment: pgpDbwo1MAuh3.pgp
Description: PGP signature


Reply to: