[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] Type1 loader overwrites FontInfo dict with private dict
From: |
Werner LEMBERG |
Subject: |
Re: [Devel] Type1 loader overwrites FontInfo dict with private dict |
Date: |
Fri, 30 May 2003 10:42:59 +0200 (CEST) |
> I found a rather tricky problem in t1load.c. There are several
> synthetic fonts around that use a common private dict, but redefine
> the public FontInfo dict for different variants (regular vs. oblique
> vs. italic).
>
> The FreeType Type1 loader first parses the public dict then the
> private dict. So in theory all values that occur twice get
> overwritten with the info from the private dict (which is the wrong
> choice for synthetic fonts!).
>
> There are several callback handlers that take care of that problem
> (e.g. /FontMatrix, look for "with synthetic fonts ..."). But all
> plain values (e.g. /ItalicAngle) *are* overwritten with the wrong
> values!
I've fixed that now for all affected font formats, please test.
Thanks for the report. Since the changes are rather big I ask to test
with as much as fonts as possible.
Werner