[ot-font] Accept MS Symbol cmap if nothing else found
authorBehdad Esfahbod <behdad@behdad.org>
Fri, 17 Apr 2015 20:08:08 +0000 (13:08 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Fri, 17 Apr 2015 20:08:08 +0000 (13:08 -0700)
src/hb-ot-font.cc

index f6f979d..30dcdd4 100644 (file)
@@ -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);