You need to sign in or sign up before continuing.
未验证 提交 c8d4c2e3 编写于 作者: E Ebrahim Byagowi 提交者: GitHub

Initialize bad_indices on hb-subset (#775)

上级 5845e5ca
...@@ -76,6 +76,7 @@ _populate_gids_to_retain (hb_face_t *face, ...@@ -76,6 +76,7 @@ _populate_gids_to_retain (hb_face_t *face,
cmap.init (face); cmap.init (face);
hb_prealloced_array_t<unsigned int> bad_indices; hb_prealloced_array_t<unsigned int> bad_indices;
bad_indices.init ();
old_gids.alloc (codepoints.len); old_gids.alloc (codepoints.len);
bool has_zero = false; bool has_zero = false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册