|
From: Maxim S. <mcs...@ya...> - 2005-11-10 05:00:31
|
To be honest, I'm not good at dealing with font/glyph metrics. And, yes, the best would be to extract more info at the caching step. McSeem > Also, in my particular case it is not just this minor > performance issue. > > Namely, I im drawing into HDC which is different from > the one that agg TT font engine uses. Thus I have to > go through additional creation and selection of the > same font into that other DC in order to extract text > metrics. > > I pass GetDC(GetDesktopWindow()) to font_engine > because while it clearly needs a DC to call GDI > functions, that DC is not the target of my rendering. > > It is not a big deal ... it just feels clumsy to have > font info split in this way. > > Tony > > > > > __________________________________ > Yahoo! Mail - PC Magazine Editors' Choice 2005 > http://mail.yahoo.com > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Vector-agg-general mailing list > Vec...@li... > https://lists.sourceforge.net/lists/listinfo/vector-agg-general > __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com |