comp.lang.ada
 help / color / mirror / Atom feed
From: "ldries46" <bertus.dries@planet.nl>
Subject: Pango Font Size
Date: Fri, 5 Aug 2016 19:51:12 +0200
Date: 2016-08-05T19:51:12+02:00	[thread overview]
Message-ID: <57a4d22b$0$32159$e4fe514c@news.kpn.nl> (raw)

I am trying to put anscreen image also to the printer.

For the cairo parts within the image it was easy. I just measured the image 
on the screen then send the image to a PDF Printer and measured it on screen 
in the 100% PDF image. That resulted in the factor I needed. But using the 
same factor with the Pango parts did nothing to the Font Size.

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 
myharacter 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 aldo the same bu 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

L. Dries 


                 reply	other threads:[~2016-08-05 17:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox