Skip to content

Commit 3a4fea4

Browse files
committed
PDFBOX-6085: remove unneeded code
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1929283 13f79535-47bb-0310-9956-ffa450edef68
1 parent f3d2a43 commit 3a4fea4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fontbox/src/main/java/org/apache/fontbox/ttf/TTFSubsetter.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -663,8 +663,6 @@ private byte[] buildGlyfTable(long[] newOffsets) throws IOException
663663

664664
// glyphIndex
665665
int componentGid = (buf[off] & 0xff) << 8 | buf[off + 1] & 0xff;
666-
glyphIds.add(componentGid);
667-
668666
int newComponentGid = getNewGlyphId(componentGid);
669667
buf[off] = (byte)(newComponentGid >>> 8);
670668
buf[off + 1] = (byte)newComponentGid;

0 commit comments

Comments
 (0)