Werner,

If I understand correctly FreeType API, only TrueType header tables
are parsed and readily available as structures.

https://www.freetype.org/freetype2/docs/reference/ft2-truetype_tables.html

Other tables like loca and glyf can be provided to the user as byte
streams through FT_Load_Sfnt_Table, but user has to parse it. So
endianness becomes important to parse integers. Freetype documentation
can be improved here, btw. Freetype does not seem to provide macros to
parse integers with endianness in mind. Do you think we should have
public

FT_OT_TO_INT16
FT_OT_TO_INT32

Something like this?
http://linux.die.net/man/3/endian

Alexei

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

Reply via email to