#1 2013-05-13 14:49:23

pkrott
Member
Registered: 2013-05-13
Posts: 1

Bug in PDF-Engine function drawline

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

Last edited by pkrott (2013-05-13 14:49:56)

Offline

#2 2013-05-14 09:46:30

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: Bug in PDF-Engine function drawline

It has been committed.
See http://synopse.info/fossil/info/bc492324b1

Thanks a lot for the feedback!

Offline

Board footer

Powered by FluxBB