freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Patch to t1load.c to handle 3-axis Multimaster fonts


From: Werner LEMBERG
Subject: Re: [ft-devel] Patch to t1load.c to handle 3-axis Multimaster fonts
Date: Thu, 20 Dec 2012 06:51:03 +0100 (CET)

>    That patch is to fix the problem that Freetype2 does not handle
>    the 3-axis MM font FontBBox correctly.  What happens is freetype2
>    tries to read the 2nd FontBBox and freetype2 does not expect
>    there are 8 components for 3-axis MM font.  So it chokes.  In an
>    earlier freetype2 version, it does not have this issue because it
>    does not read this 2nd FontBBox.  So the patch is to skip the 2nd
>    time action and then freetype2 is happy.  As far as I can see,
>    such 2nd time FontBBox read is not needed for our usage.
> 
>    So can we make this into the main line?  Maybe not...  The real
>    fix is deeper than this patch addresses.  My 2 cents.
> 
> I am not currently in tune with the FreeType source, so I don't have
> a "deeper" fix at hand.  But I offer this patch to illustrate our
> current workaround.  Sorry if that's a tad lame - there's only so
> many hours in a day.

Thanks for that.  However, a detailed analysis is only possible with a
demo font which exhibits the problem.  If you can send it (privately
to me, if necessary), this would help a lot.

For this reason, I can't include the patch in version 2.4.11 (which
I'll release today), sorry.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]