Skip to content

Commit 68c0c80

Browse files
committed
PDFBOX-5914: don't alter the phase here, this is done elsewhere
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1922238 13f79535-47bb-0310-9956-ffa450edef68
1 parent e90456a commit 68c0c80

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDFStreamEngine.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,11 +1048,6 @@ public void setTextMatrix(Matrix value)
10481048
*/
10491049
public void setLineDashPattern(COSArray array, int phase)
10501050
{
1051-
if (phase < 0)
1052-
{
1053-
LOG.warn("Dash phase has negative value {}, set to 0", phase);
1054-
phase = 0;
1055-
}
10561051
PDLineDashPattern lineDash = new PDLineDashPattern(array, phase);
10571052
getGraphicsState().setLineDashPattern(lineDash);
10581053
}

0 commit comments

Comments
 (0)