Skip to content

Commit 1517eed

Browse files
committed
PDFBOX-5915: restore line lost in refactoring
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1922256 13f79535-47bb-0310-9956-ffa450edef68
1 parent c61e2b1 commit 1517eed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fontbox/src/main/java/org/apache/fontbox/cff/Type2CharStringParser.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ else if (b0 == CALLGSUBR)
8585
}
8686
else if (b0 == HINTMASK || b0 == CNTRMASK)
8787
{
88+
glyphData.vstemCount += countNumbers(glyphData.sequence) / 2;
8889
int maskLength = getMaskLength(glyphData.hstemCount, glyphData.vstemCount);
8990
// drop the following bytes representing the mask as long as we don't support HINTMASK and CNTRMASK
9091
for (int i = 0; i < maskLength; i++)

0 commit comments

Comments
 (0)