#1 PDF Engine » Bug in SynPdf TPdfCanvas.UnicodeTextWidth » 2022-04-12 12:38:02

ArnoB
Replies: 1

Right text alignment is not working correct and i found out that it is because a bug in the procedure UnicodeTextWidth

Sourcecode on line 7273 in SynPdf.pas is currently:

      while i < length(Ansi) do begin // loop is MBCS ready

and need to be changed to:

      while i <= length(Ansi) do begin // loop is MBCS ready

Board footer

Powered by FluxBB