From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,STOX_REPLY_TYPE, STOX_REPLY_TYPE_WITHOUT_QUOTES,XPRIO autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!border2.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost2.xs4all.net!news.kpn.nl!not-for-mail From: "ldries46" Newsgroups: comp.lang.ada Subject: Pango Font Size Date: Fri, 5 Aug 2016 19:51:12 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 16.4.3528.331 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331 Message-ID: <57a4d22b$0$32159$e4fe514c@news.kpn.nl> NNTP-Posting-Host: 77.168.179.107 X-Trace: 1470419499 dreader32.news.xs4all.nl 32159 77.168.179.107:61486 X-Complaints-To: abuse@kpn.nl Xref: news.eternal-september.org comp.lang.ada:31296 Date: 2016-08-05T19:51:12+02:00 List-Id: 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