Update forgotten array termini.

* src/cid/cidload.c (cid_field_records): Account for added `len`.
* src/type1/t1load.c (t1_keywords): Ditto.
* src/type42/t42parse.c (t42_keywords): Ditto.
smooth_malloc
Alexei Podtelezhnikov 1 year ago
parent 7ad9d57c3b
commit 3302e2f60c
  1. 2
      src/cid/cidload.c
  2. 2
      src/type1/t1load.c
  3. 2
      src/type42/t42parse.c

@ -388,7 +388,7 @@
T1_FIELD_CALLBACK( "ExpansionFactor", parse_expansion_factor, 0 )
T1_FIELD_CALLBACK( "FontName", parse_font_name, 0 )
{ 0, T1_FIELD_LOCATION_CID_INFO, T1_FIELD_TYPE_NONE, 0, 0, 0, 0, 0, 0 }
{ 0, NULL, 0, 0, NULL, 0, 0, 0, 0, 0 }
};

@ -2284,7 +2284,7 @@
T1_FIELD_DICT_PRIVATE )
#endif
{ 0, T1_FIELD_LOCATION_CID_INFO, T1_FIELD_TYPE_NONE, 0, 0, 0, 0, 0, 0 }
{ 0, NULL, 0, 0, NULL, 0, 0, 0, 0, 0 }
};

@ -99,7 +99,7 @@
T1_FIELD_CALLBACK( "CharStrings", t42_parse_charstrings, 0 )
T1_FIELD_CALLBACK( "sfnts", t42_parse_sfnts, 0 )
{ 0, T1_FIELD_LOCATION_CID_INFO, T1_FIELD_TYPE_NONE, 0, 0, 0, 0, 0, 0 }
{ 0, NULL, 0, 0, NULL, 0, 0, 0, 0, 0 }
};

Loading…
Cancel
Save