On Mon, May 6, 2024 at 2:12 PM Hin-Tak Leung <ht...@users.sourceforge.net> wrote: > I have upgraded to fc40 last week, and there has been some breakage of > skia-python against current skia lately, so I thought I'd update and rebuild > the skia-enabled ft2-demos, now ported over to github CI against freetype git > head. (next e-mail). Since skia is c++, requires setting CC=c++. Found a > small breakage in current freetype git head after 2.13.2 . Diff attached - > should be obvious. > > The actual error is that "enum" is a proper type in c++, and not equivalent > to "int" (as in c), so must be casted as such.
Alternatively, T1_FIELD_TYPE_NONE could be used. For some reason T1_FIELD_LOCATION_NONE = 0 is not defined. Alexei