small bug fix used to compile when the SFNT

module doesn't support embedded bitmaps and
postscript names..
VER-2-0-4-PATCH
David Turner 25 years ago
parent 7663f22288
commit 851688057d
  1. 4
      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 );
}

Loading…
Cancel
Save