[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] NPUSHW in skipcode().
From: |
Dakai Liu |
Subject: |
Re: [ft] NPUSHW in skipcode(). |
Date: |
Mon, 17 Sep 2012 14:55:54 +1000 |
Hi Mr. Suzuki,
It's called "FA PMinchou", and it's a sub font in a composite one.
Regards,
Dakai
________________________________________
From: suzuki toshiya address@hidden
Sent: Monday, 17 September 2012 2:53 PM
To: Dakai Liu
Cc: address@hidden
Subject: Re: [ft] NPUSHW in skipcode().
Dear Dakai,
Thank you for the information. If possible, please let me know
which Japanese font hits this issue...
Regards,
mpsuzuki
Dakai Liu wrote:
> Dear List,
>
> I have encountered a byte interpreter exception when rendering a Japanese
> font. I think I may have found a bug in SkipCode() function in ttinterp.c.
> On version 2.4.10, in ttinterp.c, at line#4477,
>
> CUR.length = 2 - CUR.length * CUR.code[CUR.IP + 1];
>
> The NPUSHW needs to double the offset:
>
>
> CUR.length = 2 - CUR.length * CUR.code[CUR.IP + 1]*2;
>
>
> It works for our product, anyone can confirm it?
>
>
> Best Regards,
> Dakai
> _______________________________________________
> Freetype mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/freetype