[Gambas-user] Printer Font Size Problem

Benoît Minisini g4mba5 at gmail.com
Fri Oct 18 02:33:49 CEST 2019

Le 18/10/2019 à 02:29, Ed & Clare Kelm a écrit :
> Benoit:
> My apologies.  The font is Droid Sans.  Thank you for explaining the 
> purpose of FontScale
> What is happening is "Paint.Font.Bold=TRUE" applies the FontScale to the 
> Font.Size, and so does "Paint.Font.Bold=FALSE".
> In my case the FontScale is ~0.97. so every time I change the state of 
> Font.Bold, the font shrinks a little bit.  In a page having lots of 
> individual bold words, the font shrinks to extremely tiny!
> That can't be right.
> Also shouldn't the Font.Size be what I set?   In other words, if I say 
> "Paint.Font.Size =14", shouldn't "a = Paint.Font.Size" set a to 14?
> Ed K.

My apologies too, I now understand the problem. You are right, the font 
scale is not applied once, but each time the Paint.Font property is 
modified. This is not a problem if you set the font with a new font, but 
it is if you change just a property of the font.

I need to think about that mess...

Benoît Minisini

More information about the User mailing list