freetype
[Top][All Lists]
Advanced

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

Re: [Freetype] crash in 2.0.2


From: Tom Kacvinsky
Subject: Re: [Freetype] crash in 2.0.2
Date: Mon, 02 Apr 2001 13:07:56 -0400

Thanks for the patch.  I will commit it shortly.

Regards,

Tom

--On April 02, 2001 17:59 +0200 herbert duerr <address@hidden> wrote:

> Hi all,
> I tripped over some chinese fonts that also
> crash freetype 2.0.2. Here is the fix:
> 
> --- ttload.c.orig  Mon Apr  2 17:51:59 2001
> +++ ttload.c    Mon Apr  2 17:52:34 2001
> @@ -751,7 +751,7 @@
>        /* fonts usually only, nothing serious will happen        */
>        if ( num_shorts > num_shorts_checked && num_shorts_checked > 0 )
>        {
> -        FT_Short  val = *(shorts)[num_shorts_checked - 1];
> +        FT_Short  val = (*shorts)[num_shorts_checked - 1];
>  
>  
>          limit = *shorts + num_shorts;
> 
> -- 
> Best regards / Mit freundlichen Gruessen,
> Herbert Duerr
> email:        address@hidden
> phone:        +49 (0)40 23646 971
> 
> _______________________________________________
> Freetype mailing list
> address@hidden
> http://www.freetype.org/mailman/listinfo/freetype





reply via email to

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