Re: Export FreeType synthesis options

Chris Wilson <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
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

-- 
Chris Wilson, Intel Open Source Technology Centre
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.