|
From: <vze...@ve...> - 2004-12-31 21:38:33
|
Maxim, > > Well, it's a problem of WinAPI, the font width is somewhat strange there. If > I set height of 20 pixels and width of 20 pixels I expect that the glyphs > are not transforemed, that is, the width is relative to the height. It is so > in FreeType. But in WinAPI the width is absolute, and it's not width itself, > but "average width". IMO it's useless. Yes and no - remember that the LOGFONT fields are *suggestions* that the GDI font mapper does it's best to match, but doesn't guarantee that it will. So, to the best of my knowledge, they are not really "exact" values that you can control. With OSX and ATSUI (the OSX text API) you can get this level of fine control, but not with GDI. Cheers Jim |