add cff1::get_glyph_name
diff --git a/src/hb-ot-font.cc b/src/hb-ot-font.cc
index 96f94e4..a56b8fd 100644
--- a/src/hb-ot-font.cc
+++ b/src/hb-ot-font.cc
@@ -210,7 +210,11 @@
 		      void *user_data HB_UNUSED)
 {
   const hb_ot_face_t *ot_face = (const hb_ot_face_t *) font_data;
-  return ot_face->post->get_glyph_name (glyph, name, size);
+  hb_bool_t ret = ot_face->post->get_glyph_name (glyph, name, size);
+#ifndef HB_NO_OT_FONT_CFF
+  if (!ret) ret = ot_face->cff1->get_glyph_name (glyph, name, size);
+#endif
+  return ret;
 }
 static hb_bool_t
 hb_ot_get_glyph_from_name (hb_font_t *font HB_UNUSED,