提交 b95aa204 编写于 作者: R Rod Sheeter 提交者: Behdad Esfahbod

glyph ids to retain should most likely keep the glyph id not the codepoint

上级 91428713
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册