You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by le...@apache.org on 2015/07/30 20:07:15 UTC
svn commit: r1693464 -
/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDFStreamEngine.java
Author: lehmi
Date: Thu Jul 30 18:07:15 2015
New Revision: 1693464
URL: http://svn.apache.org/r1693464
Log:
PDFBOX-2906: don't reset matrix when saving it
Modified:
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDFStreamEngine.java
Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDFStreamEngine.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDFStreamEngine.java?rev=1693464&r1=1693463&r2=1693464&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDFStreamEngine.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDFStreamEngine.java Thu Jul 30 18:07:15 2015
@@ -680,9 +680,7 @@ public abstract class PDFStreamEngine
// process the decoded glyph
saveGraphicsState();
Matrix textMatrixOld = textMatrix;
- textMatrix = new Matrix();
Matrix textLineMatrixOld = textLineMatrix;
- textLineMatrix = new Matrix();
showGlyph(textRenderingMatrix, font, code, unicode, w);
textMatrix = textMatrixOld;
textLineMatrix = textLineMatrixOld;