Re: [ft-devel] Outline n_points are int16 so overflow is possible because missing check

2009-07-07 Thread Sean McBride
On 7/7/09 3:14 PM, John Tytgat said: Note that signed integer overflow is *not* defined in C, so this is compiler (setting) depending. gcc uses this liberty to make the best choice for optimisation and code generation. unsigned integer overflow is defined (as wrapping around). A nice

Re: [ft-devel] Outline n_points are int16 so overflow is possible because missing check

2009-07-07 Thread mpsuzuki
Dear Boris, Thank you for comment, I will commit the proposed fix within 24 hours. On Tue, 7 Jul 2009 18:02:29 +0200 Boris Letocha b.leto...@gmc.net wrote: BTW: When stored inside PDF as Type2, Adobe Reader skip such character, GhostScript crashes. It's interesting. Could you send me the

RE: [ft-devel] Outline n_points are int16 so overflow is possible because missing check

2009-07-07 Thread Boris Letocha
Hi, It is more or less exactly same as my temporary fix (including Array_Too_Large error). So good for me. BTW: When stored inside PDF as Type2, Adobe Reader skip such character, GhostScript crashes. Thanks, Boris Letocha -Original Message- From: mpsuz...@hiroshima-u.ac.jp