[ot-font] Accept MS Symbol cmap if nothing else found

pull/100/head
Behdad Esfahbod 10 years ago
parent 3029e8b59d
commit dba482fc44
  1. 1
      src/hb-ot-font.cc

@ -114,6 +114,7 @@ struct hb_ot_face_cmap_accelerator_t
if (!subtable) subtable = cmap->find_subtable (0, 2);
if (!subtable) subtable = cmap->find_subtable (0, 1);
if (!subtable) subtable = cmap->find_subtable (0, 0);
if (!subtable) subtable = cmap->find_subtable (3, 0);
/* Meh. */
if (!subtable) subtable = &OT::Null(OT::CmapSubtable);

Loading…
Cancel
Save