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: Werner LEMBERG
Subject: Re: rsvg vs skia comparison (the actual skia based ft2-demo ot-svg renderer hook code diff
Date: Sun, 16 Jul 2023 17:48:24 +0000 (UTC)

> 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]