|
From: | Ken Hancock |
Subject: | [Devel] Embolden/Obliquing with cache |
Date: | Wed, 13 Nov 2002 17:39:00 -0500 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021107 |
For obliquing and embolding, I don't really require the cache -- it's done infrequently enough that using the cache for such a purpose would probably slow the system down by effectively reducing the cache size.
Obliquing can be done with a simple FT_Glyph_Transform and FT_Glyph_To_Bitmap.
Embolding is a bit more complex. FT_GlyphSlot_Embolden takes a FT_GlyphSlot while FTC_ImageCache_Lookup returns a FT_Glyph. Can I take advantage of the glyph cache and then somehow coerce an FT_Glyph into an FT_GlphySlot? Do I need to spin my own embolden?
Thanks in advance, Ken
[Prev in Thread] | Current Thread | [Next in Thread] |