Skip to content

Commit

Permalink
Merge pull request #2835 from HackbrettXXX/fix-compound-glyphs
Browse files Browse the repository at this point in the history
fix reading of compound glyphs
  • Loading branch information
HackbrettXXX committed Aug 10, 2020
2 parents eb70ab2 + b70b8ea commit 4290d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/ttffont.js
Expand Up @@ -1579,7 +1579,7 @@ var CompoundGlyph = (function() {
while (true) {
flags = data.readShort();
this.glyphOffsets.push(data.pos);
this.glyphIDs.push(data.readShort());
this.glyphIDs.push(data.readUInt16());
if (!(flags & MORE_COMPONENTS)) {
break;
}
Expand Down

0 comments on commit 4290d9f

Please sign in to comment.