[gtkada] Pango Char Size

Emmanuel Briot briot at adacore.com
Tue Aug 16 12:48:44 CEST 2016


> I used a Size 48 for the screen That gave me a good character size
> The Cairo  factor  I calculated was 8 So I expected to need 384 for 
> my character size. With Set_Size The Character completely disappeared
> With Set_Absolute Size The size on the screen stayed the same And on the 
> printer it stayed also the same be about a factor 8 to small.
> 
> What routine should I use to to Set the corret size for my fonts on both the 
> printer and the screen

Perhaps you need to use Pango.Enums.Pango_Scale to multiply the size ?

regards
Emmanuel


More information about the gtkada mailing list