freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rsvg vs skia comparison (the actual skia based ft2-demo ot-svg rende


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

Hey

Have you looked at ThorVG ?

https://github.com/thorvg/thorvg

Vincent


On Sun, Jul 16, 2023 at 7:49 PM Werner LEMBERG <wl@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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]