Lazreport, CairoExport: gapx and gapy calc adjustment is not necessary anymore, fix line split overwritting next line, patch from Julio Jiménez B.

git-svn-id: trunk@49257 -
This commit is contained in:
jesus 2015-06-03 20:56:42 +00:00
parent 5bdb00b61a
commit d64dd2cde9

View File

@ -753,8 +753,8 @@ begin
aStyle.Layout:=tlTop; // background painting, set to false for the moment
aStyle.Wordbreak:= TfrMemoView_(View).WordWrap;
gapx := trunc(View.FrameWidth / 2 + 0.5) + 2;
gapy := trunc(View.FrameWidth / 4 + 0.5) + 1;
gapx := trunc(View.FrameWidth / 2 + 0.5);
gapy := trunc(View.FrameWidth / 4 + 0.5);
sgapx := trunc( gapx * ScaleX + 0.5);
sgapy := trunc( gapy * ScaleY + 0.5);
nx := trunc((x+gapx) * ScaleX + 0.5);