ref: 29bca65ddaaec4c01b788237a94770c1e5750cbb
parent: 507405369b07084a1761aeac066dc469e1c46b38
author: Werner Lemberg <[email protected]>
date: Tue Nov 5 18:46:25 EST 2013
Improve documentation of `FT_Load_Sfnt_Table'.
--- a/include/freetype/tttables.h
+++ b/include/freetype/tttables.h
@@ -676,6 +676,12 @@
* error = FT_Load_Sfnt_Table( face, tag, 0, buffer, &length );
* if ( error ) { ... could not load table ... }
* }
+ *
+ * Note that structures like @TT_Header or @TT_OS2 can't be used with
+ * this function; the are limited to @FT_Get_Sfnt_Table. Reason is that
+ * the size of those structures may vary depending on the processor
+ * architecture (e.g. 32bit vs. 64bit or big endian vs. little endian).
+ *
*/
FT_EXPORT( FT_Error )
FT_Load_Sfnt_Table( FT_Face face,