Hello,
I have some troubles understanding some FT code so I would like to kindly ask someone to explain it for me.
It regards the "glyf" table and the scaling of composite glyphs. From what I understood the flags specify the magnitudes for scaling of all the points of the whole compontent/"subglyph". By reading the code:
translate_array( num_points - num_base_points,
base_vec + num_base_points,
x, y );
it seems that FT only offsets the component by "x" and "y". The offset gets scaled, yes, but I cannot find where are the glyph-points scaled or rotated ("This could be used for 90-degree rotations, for example." - from the spec).
Please, what is the right way of doing this? What should be scaled - only the offset or the whole component? Does FT support this?
Thanks in advance!
PS: I could not find any fonts/glyphs which actually uses those flags, does anyone know of an example?