shithub: freetype+ttf2subf

Download patch

ref: 56645f8a8ba0a08ed2bd383b5a1558e5c790bf74
parent: cb937047965ee38f53c54daaa44b6ad9828cce64
author: Werner Lemberg <[email protected]>
date: Wed Jan 11 11:25:52 EST 2017

Fix documentation of `FT_Get_Sfnt_Name'.

Problem reported by 張俊芝 <[email protected]>.

git/fs: mount .git/fs: mount/attach disallowed
--- a/include/freetype/ftsnames.h
+++ b/include/freetype/ftsnames.h
@@ -147,8 +147,8 @@
   /*                                                                       */
   /* <Note>                                                                */
   /*    The `string' array returned in the `aname' structure is not        */
-  /*    null-terminated.  The application should deallocate it if it is no */
-  /*    longer in use.                                                     */
+  /*    null-terminated.  Note that you don't have to deallocate `string'  */
+  /*    by yourself; FreeType takes care of it if you call @FT_Done_Face.  */
   /*                                                                       */
   /*    Use @FT_Get_Sfnt_Name_Count to get the total number of available   */
   /*    `name' table entries, then do a loop until you get the right       */