[cairo] Export FreeType synthesis options

Chris Wilson chris at chris-wilson.co.uk
Sat Apr 13 05:45:32 PDT 2013

On Fri, Apr 12, 2013 at 08:26:39AM +0000, SeongWon Cho wrote:
> Hi, all
> Cairo patch 2587b9d gave us the functionality to use Freetype's synthesis options.
> http://cgit.freedesktop.org/cairo/commit/?id=2587b9dfd391fc1dc6e20eaa4c2d64fafe2e809b
> But we can't set the weight of embolden as Cairo doesn't use FT_Outline_Embolden()  but  FT_GlyphSlot_Embolden()
> How do you think to support FT_Outline_Embolden() in Cairo?

That seems reasonable. FT_GlyphSlot_Embolden() is described as a
convenience function using an arbitrary strength parameter, so we could
extend the synthesis options to include a strength. The challenge is to
simply make sure the default behaviour remains the same.

Chris Wilson, Intel Open Source Technology Centre

More information about the cairo mailing list