mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 11:19:24 +02:00
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:
parent
5bdb00b61a
commit
d64dd2cde9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user