From cee970d0e3ee2559c8261b2e101b828ca12ab696 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Thu, 23 Feb 2006 10:29:08 +0000 Subject: 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 --- src/java/org/apache/fop/pdf/PDFFont.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } } } -- cgit v1.2.3