mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 17:13:40 +00:00
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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue