[morx] Comment

pull/1259/head
Behdad Esfahbod 6 years ago
parent c46d42f8f2
commit c53a25c657
  1. 2
      src/hb-aat-layout-morx-table.hh

@ -410,7 +410,7 @@ struct LigatureSubtable
uint32_t uoffset = action & LigActionOffset; uint32_t uoffset = action & LigActionOffset;
if (uoffset & 0x20000000) if (uoffset & 0x20000000)
uoffset += 0xC0000000; uoffset |= 0xC0000000; /* Sign-extend. */
int32_t offset = (int32_t) uoffset; int32_t offset = (int32_t) uoffset;
if (buffer->idx >= buffer->len) if (buffer->idx >= buffer->len)
return false; // TODO Work on previous instead? return false; // TODO Work on previous instead?

Loading…
Cancel
Save