[cairo] bolding FT_Faces in cairo

Stuart Parmenter stuartp at gmail.com
Sat Apr 19 01:47:05 PDT 2008


Hey Guys,

Here in Mozilla land we needed a way to use embolden with cairo and
FT_Faces.  I've added code to support FC_FT_FACE on the FcPattern as well as
added a cairo_ft_font_face_embolden function that returns a bold version of
a cairo_font_face_t.  In addition, I was hitting some problems with creating
multiple unscaled fonts for a single FT_Face, so I added it to the hashtable
so cairo would return the same unscaled font if you call create_for_ft_face
a lot.

comments welcome!

stuart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20080419/0daf1b0e/attachment.html 


More information about the cairo mailing list