#184 Drawing of text fails if text starts with "," character

closed-fixed
5
2012-09-02
2012-03-08
A. Lee
No

The following:
DrawAnnotation(context, 0, 0, ","); // i.e. text 0,0 ','

would cause DrawImage to fail because after getting the co-ordinates (0,0), it incorrectly think the next token (which is a ',' character) is a delimiter and skip it.

This happens at line 2625-2627 in magick/render.c.

A scenario of this problem is a wmf with text starting with ",".

Discussion

  • Bob Friesenhahn

    Bob Friesenhahn - 2012-09-02

    Fixed by changeset 791d5528b68a

     
  • Bob Friesenhahn

    Bob Friesenhahn - 2012-09-02
    • assigned_to: nobody --> bfriesen
    • status: open --> closed-fixed
     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks