On Wed, Sep 01, 2004 at 05:44:19PM +0900, Dmitry Timoshkov wrote:
> Hello,
> 
> I had a wild guess whether GDI actually scales or not metrics for
> a bitmap font if a requested font size is not available and wrote
> a test case for it. No, GDI *does not* scale bitmap font metrics.

Well it does do integer scaling.  So if you request System (whose
normal size is 16) with 32 <= lfHeight < 48 you'll get a double sized
font with all the metrics scaled by a factor of two.  Wine doesn't do
this yet.  Your test shows that gdi doesn't do fractional scaling which
is indeed correct.

Huw.
-- 
Huw Davies
[EMAIL PROTECTED]

Reply via email to