<html><head></head><body><div class="ydpb2622c09yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
<div><br></div><div><br></div>
<div id="ydpb2622c09yahoo_quoted_9821079401" class="ydpb2622c09yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Saturday, 8 July 2023 at 12:36:45 GMT+8, Werner LEMBERG <wl@gnu.org> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr"><div class="ydpb2622c09yqt1565353497" id="ydpb2622c09yqtfd54794"><br clear="none">> > If the Freetype folks want to port to freetype2-demos, and add the<br clear="none">> > missing renderNode() to support all OT-SVG (I mean Google OT-SVG<br clear="none">> > fonts...) with a different svg rendering engine than rsvg, they can<br clear="none">> > fish it out of freetype-py/examples ... :-).</div><br clear="none"><br clear="none">> Well, I don't think *we* want to port this. Contributions, however,<br clear="none">> are always welcomed :-)<br clear="none"><br clear="none">I wrote that initially for a bit of giggle - FreeType using a massive beast like skia merely to hand out a svg glyph and receive color bitmap back. But it isn't as crazy as it sounds.</div></div><div dir="ltr"><br></div><div dir="ltr">Checked that librsvg is just under 5MB on my system, freetype just under 1MB, cairo* comes to about 2MB. The pip installed skia-python skia m87 shared library is 25MB. (But it has a lot of stuff built-into it). So if I take out all the bundled libraries and make a skia.so which re-uses system libraries, it might come down to about 10MB, closer to librsvg + cairo.</div><div dir="ltr"><br></div><div dir="ltr">And since m103 is necessary for OT-SVG, 5 months later than m98 for COLRv1 (Google milestones are 4 weeks apart, apparently). So trying to hook skia m103+ up underneath FreeType would probably go towards bring COLRv1 support too.</div><div dir="ltr"><br></div><div dir="ltr">Kind of surprised that skia-python's bundled skia is so old/outdated - considering skia is google technology, and how *cough* fanatical *cough* google folks are with everything python. :-).</div>
</div>
</div></div></body></html>