[cairo] conditionals for older freetype2 without color font feature
bryce at osg.samsung.com
Tue Apr 3 03:30:35 UTC 2018
On Tue, Apr 03, 2018 at 10:34:20AM +0900, suzuki toshiya wrote:
> FT_HAS_COLOR() macro is unavailable in older freetype2
> without color font feature. attached is a quick fix.
> or, something like
> #ifndef FT_HAS_COLOR
> # define FT_HAS_COLOR(x) ( 0 )
> in config header is better?
Offhand I prefer this latter approach, just feels a bit cleaner. Would
you mind respinning your patch with this approach?
> it seems that fontconfig decided to drop old freetype2,
> but I wish if cairo can provide (limited) support for
> older freetype2.
Sounds ok, I don't see a problem with doing this.
More information about the cairo