[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Fri Apr 17 13:09:10 PDT 2015


 src/hb-ot-font.cc |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit dba482fc4458776ffebdeb2d34b970b4223fa8fd
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Fri Apr 17 13:08:08 2015 -0700

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

diff --git a/src/hb-ot-font.cc b/src/hb-ot-font.cc
index f6f979d..30dcdd4 100644
--- a/src/hb-ot-font.cc
+++ b/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);
 


More information about the HarfBuzz mailing list