On 4/5/2010 5:08 AM, Ian Britten wrote:
So, can you confirm then that outer boundaries are always stored in one direction, and islands/holes are stored in the other? [ I'm not familiar with the TT file format. I could experiment, but I'd rather not base my final solution just on observations... ]

Technically it simply looks at directional nesting. The outermost vector will go in one direction, a contained vector in the other, a contained vector in that, original direction, a contained vector in that, the other, etc. etc.

Note that while programs like FontForge save fonts in such a way that the outermost vector is always counter-clockwise, this is not a requirement for TrueType outlines, so you may encounter fonts that don't follow that rule, and are perfectly legal TTF.

- Mike "Pomax" Kamermans
nihongoresources.com


_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to