pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r907861 - /pdfbox/trunk/src/main/java/org/apache/pdfbox/pdmodel/font/PDType1CFont.java
Date Tue, 09 Feb 2010 01:01:41 GMT
Author: jukka
Date: Tue Feb  9 01:01:41 2010
New Revision: 907861

URL: http://svn.apache.org/viewvc?rev=907861&view=rev
Log:
PDFBOX-542: Support for Adobe CFF/Type2 fonts

Avoid using Java 6 methods

Modified:
    pdfbox/trunk/src/main/java/org/apache/pdfbox/pdmodel/font/PDType1CFont.java

Modified: pdfbox/trunk/src/main/java/org/apache/pdfbox/pdmodel/font/PDType1CFont.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/main/java/org/apache/pdfbox/pdmodel/font/PDType1CFont.java?rev=907861&r1=907860&r2=907861&view=diff
==============================================================================
--- pdfbox/trunk/src/main/java/org/apache/pdfbox/pdmodel/font/PDType1CFont.java (original)
+++ pdfbox/trunk/src/main/java/org/apache/pdfbox/pdmodel/font/PDType1CFont.java Tue Feb  9
01:01:41 2010
@@ -58,6 +58,7 @@
 import org.apache.pdfbox.cos.COSStream;
 import org.apache.pdfbox.encoding.Encoding;
 import org.apache.pdfbox.encoding.EncodingManager;
+import org.apache.pdfbox.exceptions.WrappedIOException;
 import org.apache.pdfbox.pdmodel.common.PDRectangle;
 
 /**
@@ -519,7 +520,7 @@
         }
         catch( FontFormatException ffe )
         {
-            throw new IOException(ffe);
+            throw new WrappedIOException(ffe);
         }
         finally
         {



Mime
View raw message