fixed a bug which caused some font family and style

names to be incorrectly ignored..
VER-2-0-4-PATCH
David Turner 25 years ago
parent ef87970dfb
commit 454a428542
  1. 2
      src/truetype/ttgload.c
  2. 2
      src/truetype/ttobjs.c

@ -296,7 +296,7 @@
if ( n_contours > left_contours )
{
FT_TRACE0(( "ERROR: Glyph index %ld has %d contours > left %d\n",
subglyph.index,
subg->index,
n_contours,
left_contours ));
return TT_Err_Too_Many_Contours;

@ -145,7 +145,7 @@
/* Test for Microsoft English language */
if ( rec->platformID == TT_PLATFORM_MICROSOFT &&
rec->encodingID < TT_MS_ID_UNICODE_CS &&
rec->encodingID <= TT_MS_ID_UNICODE_CS &&
(rec->languageID & 0x3FF) == 0x009 )
found = 1;

Loading…
Cancel
Save