summaryrefslogtreecommitdiff
path: root/include/freetype
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2013-11-05 23:46:25 +0100
committerWerner Lemberg <wl@gnu.org>2013-11-05 23:46:25 +0100
commit29bca65ddaaec4c01b788237a94770c1e5750cbb (patch)
tree9461300e2c797ffb277345253388872be893e0ee /include/freetype
parent507405369b07084a1761aeac066dc469e1c46b38 (diff)
downloadfreetype2-29bca65ddaaec4c01b788237a94770c1e5750cbb.tar.gz
Improve documentation of `FT_Load_Sfnt_Table'.
Diffstat (limited to 'include/freetype')
-rw-r--r--include/freetype/tttables.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/freetype/tttables.h b/include/freetype/tttables.h
index 3766b5300..ce7ad793b 100644
--- a/include/freetype/tttables.h
+++ b/include/freetype/tttables.h
@@ -676,6 +676,12 @@ FT_BEGIN_HEADER
* 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,