[Gambas-user] Printer Font Size Problem

Benoît Minisini g4mba5 at gmail.com
Thu Oct 17 21:58:37 CEST 2019


Le 17/10/2019 à 20:35, Ed & Clare Kelm a écrit :
> The printer font size has a new problem which has just appeared within 
> the last month.
> 
> Setting the size results in a size slightly smaller.
> Setting bold to either true or false reduces the size by a small amount.
> 
> This test code in a the printer draw event results in the console output 
> shown below it.
> 
> Public Sub Printer1_Draw()
> 
>    Print Paint.Font.Size
> 
>    Paint.Font.Size = Paint.Font.Size
>    Print Paint.Font.Size
> 
>    Paint.Font.Size = 14
>    Print Paint.Font.Size
> 
>    Paint.Font.Bold = True
>    Print Paint.Font.Size
> 
>    Paint.Font.Bold = False
>    Print Paint.Font.Size
> End
> 

Which version of Gambas?
What is the value of Paint.FontScale property?
Which font do you use?

-- 
Benoît Minisini


More information about the User mailing list