Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Commit

Permalink
Fix embedded bitmap glyph data not stripped
Browse files Browse the repository at this point in the history
  • Loading branch information
baishixian committed Aug 3, 2022
1 parent a56f578 commit 82e7e09
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ public void subsetFontFile(File fontFile, File outputFile, int nIters)
removeTables.add(Tag.LTSH);
removeTables.add(Tag.DSIG);
removeTables.add(Tag.vhea);
// Embedded monochrome or grayscale bitmap glyph data
removeTables.add(Tag.EBDT);
removeTables.add(Tag.EBLC);
removeTables.add(Tag.EBSC);
// AAT tables, not yet defined in sfntly Tag class
removeTables.add(Tag.intValue(new byte[]{'m', 'o', 'r', 't'}));
removeTables.add(Tag.intValue(new byte[]{'m', 'o', 'r', 'x'}));
Expand Down

0 comments on commit 82e7e09

Please sign in to comment.