Dear Vincent, > Enligthenment, and more precisely the EFL (the libraries)
Thanks. Please let me confirm a few points. * the supported elements In my understanding, the parser of SVG document is implemented in src/modules/evas/vg_loaders/svg/evas_vg_load_svg.c ( https://github.com/Enlightenment/efl/blob/master/src/modules/evas/vg_loaders/svg/evas_vg_load_svg.c ), I think the elements supported by this loader are defined by TAG_DEF macro, thus, <use>, <circle>, <ellipse>, <path>, <polygon>, <rect>, <polyline>, <line>, and, <defs>, <g>, <svg>, <switch> are supported. Am I understanding correctly? * input: xml support If I can spot the location of the SVG document parser, it seems that the parsing of SVG is helped by XML parsed in src/lib/eina/eina_simple_xml_parser.c ( https://github.com/Enlightenment/efl/blob/master/src/lib/eina/eina_simple_xml_parser.c ) * output: efl_gfx If I can spot the location of the SVG document parser, the rendering of parsed SVG is done by _efl_gfx_path_XXX() in src/lib/efl/interfaces/efl_gfx_path.c ( https://github.com/Enlightenment/efl/blob/master/src/lib/efl/interfaces/efl_gfx_path.c ) There is a comment "code adapted from enesim which was adapted from moonlight sources". Are they based on FreeType2? If I'm asked to rewrite whole of elf_gfx_xxx() to fit FreeType2, simply I would respond "oh, too big, please modularize the part just to support SVG, I would reconsider after seeing it". Is it easy for EFL expert? Regards, mpsuzuki Vincent Torri wrote: > On Tue, May 21, 2019 at 6:00 PM suzuki toshiya > <mpsuz...@hiroshima-u.ac.jp> wrote: >> Hi Vincent, Alexei, >> >> On 2019/05/21 22:04, Alexei Podtelezhnikov wrote: >>> On Tue, May 21, 2019 at 5:35 AM Vincent Torri <vincent.to...@gmail.com> >>> wrote: >>>> as I have said, in our project, we parse ourselves the svg and use >>>> freetype renderer directly for the rendering. we do not depend on any >>>> external library >>> I noticed. Thank you for the vote of confidence in FreeType rendering >>> engine. I am all for adding color, even gradient color, to the engine. >> Excuse me, I cannot remember about the project Vincent talks about, >> please let me know what it is. Enlightenment is what you're talking about? > > Enligthenment, and more precisely the EFL (the libraries) > > Vincent Torri > _______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel