Font size is now the same whatever the printer resolution.
[GB.REPORT2] * BUG: Font size is now the same whatever the printer resolution.
This commit is contained in:
parent
e2db8864bc
commit
7ef182f43d
1 changed files with 3 additions and 1 deletions
|
@ -341,6 +341,8 @@ Public Sub Printer_Begin()
|
|||
ProgressBar1.Pulse = True
|
||||
lblPrint.Text = ("Layout...")
|
||||
|
||||
Paint.FontScale = 25.4 / 72 * Paint.W / $hPrinter.PaperWidth * 72 / 96 * 96 / $hPrinter.Resolution
|
||||
|
||||
End
|
||||
|
||||
Public Sub Printer_Paginate()
|
||||
|
@ -358,7 +360,7 @@ Public Sub Printer_Paginate()
|
|||
End
|
||||
|
||||
Public Sub Printer_Draw()
|
||||
|
||||
|
||||
If View.RangePages.Count = 0 Then
|
||||
View.Report.Paint($hPrinter.Page)
|
||||
Else
|
||||
|
|
Loading…
Reference in a new issue