[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Fourth Release candidate for 2.2
From: |
Behdad Esfahbod |
Subject: |
Re: [ft-devel] Fourth Release candidate for 2.2 |
Date: |
Mon, 27 Mar 2006 20:36:49 -0500 (EST) |
On Mon, 27 Mar 2006, Dave Behnke wrote:
> I integrated this build into my project and ran into a minor problem in
> trying to use an arial truetype font. Lines 171 - 173 of \src\sfnt\ttmtx.c,
> in the tt_face_load_hmtx method look like this:
>
> if ( FT_QNEW_ARRAY( *longs, num_longs ) ||
> FT_QNEW_ARRAY( *shorts, num_shorts ) )
> goto Fail;
>
> The problem is that my font has all 1673 long format metrics
> and 0 short format so the second call to FT_QNEW_ARRAY gets 0
> as its second argument. This causes it throw an invalid
> parameter error. I'm not exactly sure what the intention was
> but I think all long or all short formats should be valid.
I believe this is already fixed in CVS. Check recent mailing
list archives for the discussion.
> Dave Behnke
> Retail Technology Solutions, Inc.
--behdad
http://behdad.org/
"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
-- Dan Bern, "New American Language"