From 68c0c80004db2d45f0386575b89f9af1ebab7051 Mon Sep 17 00:00:00 2001 From: Tilman Hausherr Date: Sat, 30 Nov 2024 15:21:10 +0000 Subject: [PATCH] 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 --- .../org/apache/pdfbox/contentstream/PDFStreamEngine.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDFStreamEngine.java b/pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDFStreamEngine.java index c430f46d7d4..b40d126e29c 100644 --- a/pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDFStreamEngine.java +++ b/pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDFStreamEngine.java @@ -1048,11 +1048,6 @@ public void setTextMatrix(Matrix value) */ public void setLineDashPattern(COSArray array, int phase) { - if (phase < 0) - { - LOG.warn("Dash phase has negative value {}, set to 0", phase); - phase = 0; - } PDLineDashPattern lineDash = new PDLineDashPattern(array, phase); getGraphicsState().setLineDashPattern(lineDash); }