You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2024/11/30 15:20:06 UTC
svn commit: r1922237 - /pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDFStreamEngine.java
Author: tilman
Date: Sat Nov 30 15:20:05 2024
New Revision: 1922237
URL: http://svn.apache.org/viewvc?rev=1922237&view=rev
Log:
PDFBOX-5914: don't alter the phase here, this is done elsewhere
Modified:
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDFStreamEngine.java
Modified: pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDFStreamEngine.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDFStreamEngine.java?rev=1922237&r1=1922236&r2=1922237&view=diff
==============================================================================
--- pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDFStreamEngine.java (original)
+++ pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDFStreamEngine.java Sat Nov 30 15:20:05 2024
@@ -1048,11 +1048,6 @@ public abstract class PDFStreamEngine
*/
public void setLineDashPattern(COSArray array, int phase)
{
- if (phase < 0)
- {
- LOG.warn("Dash phase has negative value " + phase + ", set to 0");
- phase = 0;
- }
PDLineDashPattern lineDash = new PDLineDashPattern(array, phase);
getGraphicsState().setLineDashPattern(lineDash);
}