#1 Bug with precomputedKerning and Unicode chars

closed-fixed
nobody
None
5
2008-05-11
2008-05-03
Anonymous
No

Method FTFace::KernAdvance fails when index1 or index2 is equal or greater than 128 and kerning was precomputed. Precomputed values stored in an array 128*128, so we have out of bounds exception.
I think, it's needed to check this bounds.

Discussion

  • Nobody/Anonymous

    .diff and the updated file

     
  • Sam Hocevar

    Sam Hocevar - 2008-05-11

    Logged In: YES
    user_id=37415
    Originator: NO

    Your fix was actually already in FTGL. You must have grabbed an out-of-date file from
    another project. Thanks!

     
  • Sam Hocevar

    Sam Hocevar - 2008-05-11
    • status: open --> open-fixed
     
  • Sam Hocevar

    Sam Hocevar - 2008-05-11
    • status: open-fixed --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks