diff options
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r-- | src/java/org/apache/fop/pdf/PDFFont.java | 9 |
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); + } } |