freetype
[Top][All Lists]
Advanced

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

Re: [ft] Extracting sub-glyph transformation


From: Werner LEMBERG
Subject: Re: [ft] Extracting sub-glyph transformation
Date: Fri, 31 Aug 2018 10:55:25 +0200 (CEST)

>  // match l-th point of the newly loaded component to the k-th point
>  // of the previously loaded components.
> 
> so in this case, it means that p1 is the base_points[arg2] where
> base_points is the points of the outline of the parent glyph and p2
> is sub_glyph[arg1] where sub_glyph is the points of the current
> sub-glyph.  Is that correct?

Yes (or vice versa, I'm too lazy to check that :-)

> P.S. I still would love to have a Freetype function to grab/compute
>      those translation since the code is quite involved and tricky.

I won't invest time into this.  FreeType is basically a rendering
engine and not suited well to analyzing fonts.  However, feel free to
contribute such a function!


    Werner



reply via email to

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