[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Want to work on a project to add support for the 'SVG ' O
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] Want to work on a project to add support for the 'SVG ' OpenType table to render color fonts. |
Date: |
Tue, 05 Mar 2019 06:33:35 +0100 (CET) |
>> I had also discussed about *librsvg* by GNOME as potential library
>> that can fit the job. Although as told by Werner Sir it is porting
>> to rust but still its API is in C.
>
> `librsvg-2' looks fine to me: [...]
I still want an evaluation of various SVG libraries as part of the
GSoC project describing pros and cons – even if used only to reject
everything but `librsvg-2'.
>> Whether to edit both Glyph positioning (otvgpos.c) and substitution
>> tables (otvgsub.c) or only positioning,I want to know about this.
>
> I am not sure about that, Werner might have an answer for you
> there :)
Please completely forget `otv*'; this is not related to SVG support.
The idea of SVG handling is very simple:
* Extract the SVG data from the `SVG' table,
* build a proper SVG document and send it to the SVG library for
rendering,
* receive a bitmap (or pixmap) and use it similar to other bitmap
glyphs within FreeType.
There is no higher-level stuff to consider. Just follow the OpenType
specification. :-)
Werner