提交 bdb20daf 编写于 作者: B Behdad Esfahbod

[hangul] Fix decomposition

Part of https://github.com/behdad/harfbuzz/pull/10
上级 32478656
......@@ -165,8 +165,8 @@ preprocess_text_hangul (const hb_ot_shape_plan_t *plan,
bool has_glyph = font->get_glyph (s, 0, &glyph);
unsigned int lindex = (s - SBase) / NCount;
unsigned int nindex = (s - SBase) % NCount;
unsigned int vindex = nindex / VCount;
unsigned int tindex = nindex % VCount;
unsigned int vindex = nindex / TCount;
unsigned int tindex = nindex % TCount;
if (tindex && has_glyph)
goto next; /* <LVT> supported. Nothing to do. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册