]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Tell about the offending font if it's not embedded and PDF/A is active.
authorJeremias Maerki <jeremias@apache.org>
Thu, 23 Feb 2006 10:29:08 +0000 (10:29 +0000)
committerJeremias Maerki <jeremias@apache.org>
Thu, 23 Feb 2006 10:29:08 +0000 (10:29 +0000)
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

index 9b827ebf1a53c0e4b17d9a4259a5799cd66f7fb6..b98736487add4dbde89ec1ab76cf73183cd210e5 100644 (file)
@@ -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);
             }
         }
     }