From: Jeremias Maerki Date: Thu, 23 Feb 2006 10:29:08 +0000 (+0000) Subject: Tell about the offending font if it's not embedded and PDF/A is active. X-Git-Tag: fop-0_92-beta~101 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cee970d0e3ee2559c8261b2e101b828ca12ab696;p=xmlgraphics-fop.git Tell about the offending font if it's not embedded and PDF/A is active. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@380091 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/pdf/PDFFont.java b/src/java/org/apache/fop/pdf/PDFFont.java index 9b827ebf1..b98736487 100644 --- a/src/java/org/apache/fop/pdf/PDFFont.java +++ b/src/java/org/apache/fop/pdf/PDFFont.java @@ -196,7 +196,7 @@ public class PDFFont extends PDFObject { if (getDocumentSafely().getPDFAMode().isPDFA1LevelB()) { if (this.getClass() == PDFFont.class) { throw new PDFConformanceException("For PDF/A-1, all fonts, even the base 14" - + " fonts, have to be embedded!"); + + " fonts, have to be embedded! Offending font: " + this.basefont); } } }