Drawtext problem

  • I use WPDF to draw some text into a PDF

    I use the method: DrawText(wPDF.Canvas.Handle, PChar(text), Length(text), rect, format);

    Probably it's a simply thing but i can't undestand why if i draw a text where the last character is a symbol, the symbol is drawed in the first position.

    For example, if a draw 'Art:' the text drawed is ':Art'
    or 'Art@' became '@Art'

    I have read the Drawtext delphi help but i can't see nothing related to this thing.

    I don't think this probem is related to wpdf ...

    thanks for any help

    Roberto
    Delphi 2007
    Windows Vista
    WPDF 3.21