On Sat, Feb 04, 2006 at 05:23:55PM +0100, Werner LEMBERG wrote:
> > This is from where I picked FT_GlyphSlot_Embolden(); I was inquiring
> > for FT_Outline_Embolden sample...
> We don't have one :-) Anyone out there who uses it, probably posting a
> snippet?
It is as simple as:
FT_Load_Glyph( face, gindex, FT_LOAD_DEFAULT );
if ( face->slot->format == FT_GLYPH_FORMAT_OUTLINE )
FT_Outline_Embolden( &slot->outline, strength );
Other outline related functions can be used in the same way. Although
not documented, it is safe to manipulate the points of slot->outline
directly. (not 100% sure though :-)
It is not true for slot->bitmap btw.
--
Regards,
olv
_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype