Re: Win32 glyphBox implementation

From: Jordi Mas <jmas_at_softcatala.org>
Date: Mon Aug 01 2005 - 23:40:14 CEST

En/na J.M. Maurer ha escrit:

> Hi there win32 devs!
>
> I could really use your help here... I need an implementation of
>
> bool GR_Win32Font::glyphBox(UT_UCS4Char g, UT_Rect & rec) const
>
> if I ever want to make maths work on win32. Maybe tomas or someone else
> could give it a try? Given my win32 skill, it´ll probably take me a
> month to come up with a faulty implementation .. :)

Marc, probably what you want can be archive it using the GetGlyphOutline API
function with the GGO_METRICS flag:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/fontext_8fp0.asp

Regards,

Jordi,

-- 
Jordi Mas i Hernàndez, HomePage http://www.softcatala.org/~jmas/
Bloc personal http://www.softcatala.org/~jmas/bloc/
Planeta Softcatalà: http://www.softcatala.org/planet/
Received on Mon Aug 1 23:42:32 2005

This archive was generated by hypermail 2.1.8 : Mon Aug 01 2005 - 23:42:32 CEST