[cairo] conditionals for older freetype2 without color font feature

suzuki toshiya mpsuzuki at hiroshima-u.ac.jp
Tue Apr 3 01:34:20 UTC 2018


Hi,

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 )
#endif

in config header is better?

--

it seems that fontconfig decided to drop old freetype2,
but I wish if cairo can provide (limited) support for
older freetype2.

Regards,
mpsuzuki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cairo-ft-font_legacy-ft.diff
Type: text/x-patch
Size: 853 bytes
Desc: not available
URL: <https://lists.cairographics.org/archives/cairo/attachments/20180403/502e71ea/attachment-0001.bin>


More information about the cairo mailing list