mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 07:51:10 +01:00
[hb-subset] Accept gidXXX-style glyph names
This commit is contained in:
1 parent
a637c08d5a
commit
0fecd2ecc3
1 file changed
+1
-1
+1
-1
@@ -287,7 +287,7 @@ parse_glyphs (const char *name,
|
||||
if (p < end)
|
||||
{
|
||||
hb_codepoint_t gid;
|
||||
if (!hb_font_get_glyph_from_name (font, p, end - p, &gid))
|
||||
if (!hb_font_glyph_from_string (font, p, end - p, &gid))
|
||||
{
|
||||
g_set_error (error, G_OPTION_ERROR, G_OPTION_ERROR_BAD_VALUE,
|
||||
"Failed parsing glyph name: '%s'", p);
|
||||
|
||||
Reference in new issue
Block a user