+ if (glyph_name[0] == '\0' && has_glyph_names)
+ {
+ programming_error (_f ("Glyph has no name, but font supports glyph naming.\n"
+ "Skipping glyph U+%0X, file %s",
+ pg,
+ file_name.c_str ()));
+ continue;
+ }
+
+
+ if (glyph_name == string (".notdef") && is_ttf)
+ glyph_name[0] = '\0';
+
+ if (glyph_name[0] == '\0' && is_ttf)
+ {
+ // access by glyph index directly.
+ get_glyph_index_name (glyph_name, pg);
+ }
+