aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2008-02-18 09:41:03 +0000
committerJeremias Maerki <jeremias@apache.org>2008-02-18 09:41:03 +0000
commit263b70846b06d2a119d5d253633e5678a9f908bb (patch)
tree61e818e9d7c8edd89cf227670d821e52ad2145e4 /src/java/org/apache/fop
parenta5c33430c6e04172ab219455fdecf86eb9f63aae (diff)
downloadxmlgraphics-fop-263b70846b06d2a119d5d253633e5678a9f908bb.tar.gz
xmlgraphics-fop-263b70846b06d2a119d5d253633e5678a9f908bb.zip
Extract original exception in BasePDFTestCase.java. They are normally embedded in a TransformerException and sometimes additionally in a SAXException (depending on the JAXP implementation).
Restore validation for Base14 font check when PDF/A is active. Got lost when I refactored to generic structures in the PDF library. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628668 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r--src/java/org/apache/fop/pdf/PDFFont.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/pdf/PDFFont.java b/src/java/org/apache/fop/pdf/PDFFont.java
index 497565e9c..14f1a657c 100644
--- a/src/java/org/apache/fop/pdf/PDFFont.java
+++ b/src/java/org/apache/fop/pdf/PDFFont.java
@@ -19,6 +19,9 @@
package org.apache.fop.pdf;
+import java.io.IOException;
+import java.io.OutputStream;
+
import org.apache.fop.fonts.FontType;
/**
@@ -163,5 +166,11 @@ public class PDFFont extends PDFDictionary {
}
}
}
+
+ /** {@inheritDoc} */
+ protected int output(OutputStream stream) throws IOException {
+ validate();
+ return super.output(stream);
+ }
}