mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 14:31:10 +01:00
[hangul] Fix decomposition
Part of https://github.com/behdad/harfbuzz/pull/10
This commit is contained in:
1 parent
32478656ce
commit
bdb20dafc3
1 file changed
+2
-2
@@ -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. */
|
||||
|
||||
Reference in new issue
Block a user