From 263b70846b06d2a119d5d253633e5678a9f908bb Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Mon, 18 Feb 2008 09:41:03 +0000 Subject: 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 --- src/java/org/apache/fop/pdf/PDFFont.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/java/org/apache/fop') 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); + } } -- cgit v1.2.3