mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-02 01:55:56 +02:00
LazReport, set resolution for virtual printer, from aleksey Lagunov
git-svn-id: trunk@44410 -
This commit is contained in:
parent
8d8f500e71
commit
0663d233e9
@ -985,6 +985,10 @@ begin
|
|||||||
Ofy := Round(50 * ky / 254);
|
Ofy := Round(50 * ky / 254);
|
||||||
Pw := Pgw - Ofx * 2;
|
Pw := Pgw - Ofx * 2;
|
||||||
Ph := Pgh - Ofy * 2;
|
Ph := Pgh - Ofy * 2;
|
||||||
|
|
||||||
|
//fix DPI for virtual printer
|
||||||
|
ResX := 300;
|
||||||
|
ResY := 300;
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user