pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1701928 - /pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/pdfdebugger/fontencodingpane/Type0Font.java
Date Wed, 09 Sep 2015 07:40:46 GMT
Author: tilman
Date: Wed Sep  9 07:40:46 2015
New Revision: 1701928

URL: http://svn.apache.org/r1701928
Log:
PDFBOX-2842: fix call to deprecated method

Modified:
    pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/pdfdebugger/fontencodingpane/Type0Font.java

Modified: pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/pdfdebugger/fontencodingpane/Type0Font.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/pdfdebugger/fontencodingpane/Type0Font.java?rev=1701928&r1=1701927&r2=1701928&view=diff
==============================================================================
--- pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/pdfdebugger/fontencodingpane/Type0Font.java
(original)
+++ pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/pdfdebugger/fontencodingpane/Type0Font.java
Wed Sep  9 07:40:46 2015
@@ -67,7 +67,7 @@ class Type0Font implements FontPane
         {
             COSStream stream = (COSStream) map;
 
-            InputStream is = stream.getUnfilteredStream();
+            InputStream is = stream.createInputStream();
             byte[] mapAsBytes = IOUtils.toByteArray(is);
             IOUtils.closeQuietly(is);
             int numberOfInts = mapAsBytes.length / 2;



Mime
View raw message