[Fontconfig] Re: Patch to recognize PostScript weight "Demi"

John Stracke
Mon, 21 Nov 2005 08:50:56 -0000

On Mon, 2004-02-16 at 11:32, John Stracke wrote:
> I noticed that fontconfig 2.2.1 was reporting the wrong weight for one
> of the fonts I was using ("URW Gothic L Demi Oblique"); when I
dug into
> it, I found that the problem was that the .pfb was declaring its weight
> as "Demi", and fontconfig expected "Demibold".  So I
modified
> fcfreetype.c to recognize "Demi" as a synonym for
"Demibold".  It''s a
> one-liner; the patch is attached.

And here''s an updated patch that also recognizes "Roman"
weight as a
synonym for "Normal".  This comes up in the URW font Century
Schoolbook
L Roman.

John Stracke
Fran?ois Thibault
Carolingia, East
francis@thibault.org
HTML mail OK.
PGP key
Please do not adjust
your mind--reality is
malfunctioning.
My medieval art for sale