freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Transform support for OT-SVG glyphs


From: Werner LEMBERG
Subject: Re: [ft-devel] Transform support for OT-SVG glyphs
Date: Sun, 18 Aug 2019 07:17:38 +0200 (CEST)

> I have added the support for transformations.

Thanks!

> For traditional glyphs, you can apply a transformation multiple
> times, since the transformation is just directly applied on the
> actual coordinates.  But for SVG glyphs, the transformation is just
> stored with the actual SVG document so that it can ultimately be
> picked up by the renderer, and the renderer then applies it.

This is a limitation I could live with (but see below).

> One way to support multiple transformations would be to store an
> array of transformations which can be applied one by one by the
> renderer.  But, I think that'll create more issues than it solves.

Agreed.

> A better way would be store an equivalent transformation matrix.  I
> think this should be possible by using homogeneous coordinates.  I'm
> going to try that. :)

It seems that you have already implemented that, right?


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]