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
[mailto:mpsuz...@hiroshima-u.ac.jp] Sent: 7. Ĩervence 2009 14:42 To: Boris Letocha Cc: freetype-devel@nongnu.org; Werner LEMBERG Subject: Re: [ft-devel] Outline n_points are int16 so overflow is possible because missing check ___ Freetype-devel mailing list

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

2009-06-23 Thread Boris Letocha
Hi, I want to report bug in handling huge (in number of points) glyphs. (I can provide such generated font on request, don't sending to list as it has 1.2MB) If you create Type1 (could apply also to different types) font with more than 32767 points in one glyph outline-n_points will wrap around