Skip to content

Commit 1ab39db

Browse files
committed
PDFBOX-5660: optimize, as suggested by Valery Bokov; closes #226
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1928050 13f79535-47bb-0310-9956-ffa450edef68
1 parent 55d642d commit 1ab39db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ protected void showText(byte[] string) throws IOException
756756
0, fontSize, // 0
757757
0, textState.getRise()); // 1
758758

759-
Matrix textMatrix = getGraphicsState().getTextMatrix();
759+
Matrix textMatrix = state.getTextMatrix();
760760

761761
// read the stream until it is empty
762762
InputStream in = new ByteArrayInputStream(string);

0 commit comments

Comments
 (0)