mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-30 18:13:53 +01:00
glyph ids to retain should most likely keep the glyph id not the codepoint
This commit is contained in:
1 parent
91428713bd
commit
b95aa204ee
1 file changed
+1
-1
@@ -55,7 +55,7 @@ glyph_ids_to_retain (hb_subset_face_t *face,
|
||||
hb_codepoint_t gid;
|
||||
if (face->cmap.get_nominal_glyph(cp, &gid)) {
|
||||
DEBUG_MSG(SUBSET, nullptr, "gid for U+%04X is %d", cp, gid);
|
||||
hb_set_add(gids, cp);
|
||||
hb_set_add(gids, gid);
|
||||
} else {
|
||||
DEBUG_MSG(SUBSET, nullptr, "Unable to resolve gid for U+%04X", cp);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user