On Sat, Apr 25, 2020 at 9:53 PM Werner LEMBERG <w...@gnu.org> wrote: > > > > In https://docs.microsoft.com/en-us/typography/opentype/spec/ttch01 > > it is explained that outside curves go clockwise. Does that hold for > > other font types too? (PFA, OTF?) > > PostScript flavoured glyphs like PFA or OTF[*] have the opposite > orientation. You can easily check whether the used FreeType driver > for a font is 'truetype': > > FT_Face face = Get_FT_Face_For_Current_Font(...); > FT_Module module; > > module = &face->driver->root; > if (!strcmp( module->clazz->module_name, "truetype")) > ... we have a TrueType font ...
Looks like this is not available in the public API. Does it work if I check for a "glyf" font table? See https://codereview.appspot.com/569700043/ -- Han-Wen Nienhuys - hanw...@gmail.com - http://www.xs4all.nl/~hanwen