#1 PDF Engine » Bug in PDF-Engine function drawline » 2013-05-13 14:49:23

pkrott
Replies: 1

in funtion DrawLine, unit SynPDf.pas line 9240

        Canvas.I2X(R.emrtext.ptlReference.X+Round(W*acos-H*asin)), 

must be changed to

        Canvas.I2X(R.emrtext.ptlReference.X-Round(W*acos-H*asin)), 

to export angled text correctly wich is right justified.
(note: "-" instead of "+")

greetings,
Patrick

Board footer

Powered by FluxBB