Fix duplicate check in hb_ot_rotate chars
Fixes #2099. Fix indentation in mirroring section as well.
This commit is contained in:
parent
dc03a993d0
commit
66dfd605b5
|
@ -652,7 +652,6 @@ hb_ot_rotate_chars (const hb_ot_shape_context_t *c)
|
|||
{
|
||||
for (unsigned int i = 0; i < count; i++) {
|
||||
hb_codepoint_t codepoint = hb_vert_char_for (info[i].codepoint);
|
||||
if (c->font->has_glyph (codepoint))
|
||||
if (unlikely (codepoint != info[i].codepoint && c->font->has_glyph (codepoint)))
|
||||
info[i].codepoint = codepoint;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue