[cairo] bolding FT_Faces in cairo

Stuart Parmenter stuartp at gmail.com
Sat Apr 19 01:51:16 PDT 2008

uh, yeah, with the patch...

On Sat, Apr 19, 2008 at 1:47 AM, Stuart Parmenter <stuartp at gmail.com> wrote:

> 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/8842925b/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syntheticbold.diff
Type: text/x-diff
Size: 7576 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080419/8842925b/attachment.diff 

More information about the cairo mailing list