comp.lang.ada
 help / color / mirror / Atom feed
* Pango Font Size
@ 2016-08-05 17:51 ldries46
  0 siblings, 0 replies; only message in thread
From: ldries46 @ 2016-08-05 17:51 UTC (permalink / 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 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-05 17:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-05 17:51 Pango Font Size ldries46

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