mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 15:31:05 +01:00
Fix duplicate check in hb_ot_rotate chars
Fixes #2099. Fix indentation in mirroring section as well.
This commit is contained in:
1 parent
dc03a993d0
commit
66dfd605b5
1 file changed
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user