freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Missing glyphs in Opentype fonts in FreeType 2.4.0


From: Steve Langasek
Subject: Re: [ft-devel] Missing glyphs in Opentype fonts in FreeType 2.4.0
Date: Thu, 15 Jul 2010 11:21:20 -0700
User-agent: Mutt/1.5.20 (2009-06-14)

Tobias,

On Thu, Jul 15, 2010 at 06:28:26PM +0200, Werner LEMBERG wrote:
> > After this commit, I receive such kind of errors from tracing
> > message.

> Mmmh, I suspect this patch should fix the issue:

> --- cffgload.c.old    2010-07-05 06:34:59.000000000 +0200
> +++ cffgload.c        2010-07-15 18:26:45.000000000 +0200
> @@ -1344,7 +1344,7 @@
>            /* instruction).  Additionally, there must be space for  */
>            /* `num_hints' bits.                                     */
>  
> -          if ( ( ip + 1 + ( ( decoder->num_hints + 7 ) >> 3 ) ) >= limit )
> +          if ( ( ip + ( ( decoder->num_hints + 7 ) >> 3 ) ) >= limit )
>              goto Syntax_Error;
>  
>            if ( hinter )

> I'm obviously bad at handling limits...

Are you in a position to test this fix?  I don't have time today to prepare
a test package, but if you can get this verified then I can have a fixed
upload to Debian and Ubuntu by this weekend.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
address@hidden                                     address@hidden



reply via email to

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