[Top][All Lists]

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

Re: [ft-devel] New FreeType release within a week

From: Werner LEMBERG
Subject: Re: [ft-devel] New FreeType release within a week
Date: Tue, 02 Jan 2018 08:06:07 +0100 (CET)

>> . Ewald, I suggest that we simply increase the allowed number of
>>   hints for Type 1 fonts – we can still fix this later if really
>>   needed.
> The allowed number of hints is set by the value `CF2_MAX_HINTS'
> defined in `pshints.h', this value determines the amount of memory
> allocated for the hintmap records and hintmask too.  So we can
> increase the limit to something higher but really only as a
> temporary fix, I think.  Does 360 sound good (since the one had 344
> hints)?

Yes, sounds sensible, thanks.  Could you do a sweep over all Type 1
fonts from TeXLive just to be sure?  I guess this is the most
important repository of PFB files that is still in use.

> As for a long-term fix, fortunately, hintmasks are not used in
> Type 1, so we can focus on the hint records.  These could use an
> ArrStack instead, removing the arbitrary limit on Type 1 fonts,
> while adding checks to enforce the limit for CFF.

Please proceed :-)


reply via email to

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