nanogui: How to draw pixmap with transparency
Subject:
Re: [nanogui] How to draw pixmap with transparency
From:
Julian Smart ####@####.####
Date:
28 Feb 2002 14:08:02 -0000
Message-Id: <4.2.0.58.20020228140627.0217f580@pop>
At 01:46 PM 2/28/02 +0000, ####@####.#### wrote:
>Hi Julian,
>
>> // A point is 1/20 of an inch.
>> // An inch is 2.541 cm.
>> // So pixelHeight = (pointSize / 20) (inches) * 2.541 (for cm) *
>yPixelsPerCM (for pixels)
>
>A point is 1/72 of an inch, not 1/20. (At least according to the FreeType
>docs I've been looking at). Fixing that will make all your fonts a third
>the size they were before.
Aaaaah! Thank you. That would definitely solve it.
Many thanks!
Julian
--
Red Hat UK Ltd, Unit 200 Rustat House, 62 Clifton Road, Cambridge, UK. CB1 7EG Tel: +44 (1223) 271063