shithub: freetype+ttf2subf

Download patch

ref: 851688057dddd793bd29c0f750f837a242eca76c
parent: 7663f22288c2d71982ea9e832a1592d4bb63bcda
author: David Turner <[email protected]>
date: Sun Feb 13 08:38:27 EST 2000

small bug fix used to compile when the SFNT
module doesn't support embedded bitmaps and
postscript names..

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/truetype/ttobjs.c
+++ b/src/truetype/ttobjs.c
@@ -363,11 +363,11 @@
     if (sfnt)
     {
       /* destroy the postscript names table if it is supported */
-      if (sfnt->load_psnames)
+      if (sfnt->free_psnames)
         sfnt->free_psnames( face );
         
       /* destroy the embedded bitmaps table if it is supported */
-      if (sfnt->load_sbits)
+      if (sfnt->free_sbits)
         sfnt->free_sbits( face );
     }