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

Fix embedded bitmap glyph data not stripped #117

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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