mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-02 21:18:14 +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);
|
||||
Pw := Pgw - Ofx * 2;
|
||||
Ph := Pgh - Ofy * 2;
|
||||
|
||||
//fix DPI for virtual printer
|
||||
ResX := 300;
|
||||
ResY := 300;
|
||||
end
|
||||
end
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user