From d1ff50e574979ddb2d1e8a5998c5c50a8a56f8bc Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Thu, 22 Oct 2009 10:15:11 +0000 Subject: [PATCH] Added just a bit more information to find out what's wrong. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@828632 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/pdf/PDFFontNonBase14.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/fop/pdf/PDFFontNonBase14.java b/src/java/org/apache/fop/pdf/PDFFontNonBase14.java index 79ed10f48..faef636f6 100644 --- a/src/java/org/apache/fop/pdf/PDFFontNonBase14.java +++ b/src/java/org/apache/fop/pdf/PDFFontNonBase14.java @@ -76,7 +76,7 @@ public abstract class PDFFontNonBase14 extends PDFFont { if (getDocumentSafely().getProfile().isFontEmbeddingRequired()) { if (this.getDescriptor().getFontFile() == null) { throw new PDFConformanceException("For " + getDocumentSafely().getProfile() - + ", all fonts have to be embedded!"); + + ", all fonts have to be embedded! Offending font: " + getBaseFont()); } } } -- 2.39.5