Hi Moazin,

That looks great.

You shouldn't be using global state though.  The state should be held by
FT_Library and passed to init/fini as well as the renderer functions.

On Tue, Jul 2, 2019 at 10:03 PM Moazin Khatri <moazinkha...@gmail.com>
wrote:

> Hi Werner and Toshiya,
>
> While using resvg to render glyphs from SVG documents which contain
> multiple glyphs, I observed some clipping issues. Ultimately, I realized
> the
> problem was with `resvg'. So I started work on a `librsvg' based port.
> That
> is functional now and can be found here
> <https://bitbucket.org/moazin/librsvg-port-freetype-otsvg/src/master/>.
> This one doesn't have those
> clipping issues and works fine with SVG documents that contain multiple
> glyphs.
>
> I will probably debug the issue more later on and if I am sure it's a
> problem
> with `resvg', I will report it to the devs of `resvg'.
>
> Werner, the sluggishness you mentioned earlier, I observed that it doesn't
> occur in this `librsvg' port. Turns out, it was occurring because I was
> linking
> against a `debug' build of `resvg' not the `release'  build. Changing
> that,
> removed the sluggishness and everything works super fast now. :)
> Still looking at how the caching might be extended to  work with OT-SVG
> is a good idea and stays in my list. :)
>
> Regards,
> Moazin
> _______________________________________________
> Freetype-devel mailing list
> Freetype-devel@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/freetype-devel
>


-- 
behdad
http://behdad.org/
_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to