Hey Have you looked at ThorVG ?
https://github.com/thorvg/thorvg Vincent On Sun, Jul 16, 2023 at 7:49 PM Werner LEMBERG <w...@gnu.org> wrote: > > > One question, is c++ built libfreetype binary completely compatible? > > It seems the opposite is (c++ built ft2-demos can use c-built > > freetype) is. > > I think that in general it is possible to use C libraries as-is in C++ > but not vice versa. > > > Basically I am thinking of doing a > > > > FT_Load_Glyph_Extended(face, glyph_id, flags) { > > if (glyph_id not COLRv1) > > return FT_Load_Glyph(....); /* pass it on */ > > > > ... do stuff and fill in a color bitmap and it's size/offset.. > > } > > This might work in the demo programs, yes. > > > Werner > >