|
From: | Vincent Torri |
Subject: | Re: rsvg vs skia comparison (the actual skia based ft2-demo ot-svg renderer hook code diff |
Date: | Mon, 17 Jul 2023 13:42:46 +0200 |
> 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
[Prev in Thread] | Current Thread | [Next in Thread] |