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
This commit is contained in:
Jeremias Maerki 2009-10-22 10:15:11 +00:00
parent 7839918c68
commit d1ff50e574

View File

@ -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());
}
}
}