Why does builds/unix/ftoption.h not have TT_CONFIG_OPTION_COLOR_LAYERS? I also never understood why there are three ftoption.h files...
On Mon, Jul 16, 2018 at 12:37 PM, Behdad Esfahbod <beh...@behdad.org> wrote: > Looks like my config thinks TT_CONFIG_OPTION_COLOR_LAYERS is disabled... > > On Mon, Jul 16, 2018 at 12:31 PM, Behdad Esfahbod <beh...@behdad.org> > wrote: > >> On Sat, Jul 14, 2018 at 9:15 PM, Werner LEMBERG <w...@gnu.org> wrote: >> >>> >>> > Looks to me like FT_HAS_COLOR still returns false for COLR/CPAL >>> > fonts. Any idea? >>> >>> How do you come to this impression? There is the following code in >>> `sfobjs.c' around line 1405: >>> >>> if ( face->sbit_table_type == TT_SBIT_TABLE_TYPE_CBLC || >>> face->sbit_table_type == TT_SBIT_TABLE_TYPE_SBIX || >>> face->colr ) >>> flags |= FT_FACE_FLAG_COLOR; /* color glyphs */ >>> >>> For me it seems to work. Do you have a counterexample? >> >> >> Running fc-query on seguiemj.ttf returns color=false. The code is: >> >> >> ↦ has_color = !!(face->face_flags & FT_FACE_FLAG_COLOR); >> ↦ if (!FcPatternAddBool (pat, FC_COLOR, has_color)) >> ↦ goto bail1; >> >> I need to debug. >> >> -- >> behdad >> http://behdad.org/ >> > > > > -- > behdad > http://behdad.org/ > -- behdad http://behdad.org/
_______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel