]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Amended error message to describe licensing restriction flag in font
authorMehdi Houshmand <mehdi@apache.org>
Tue, 24 Jan 2012 17:02:03 +0000 (17:02 +0000)
committerMehdi Houshmand <mehdi@apache.org>
Tue, 24 Jan 2012 17:02:03 +0000 (17:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1235358 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/fonts/truetype/TTFFontLoader.java

index a33339607a916470ae34c771443deec48f40393f..f9be8e0106c74a8e772bb4c5999433f5a22cae20 100644 (file)
@@ -173,7 +173,8 @@ public class TTFFontLoader extends FontLoader {
             if (ttf.isEmbeddable()) {
                 returnFont.setEmbedFileName(this.fontFileURI);
             } else {
-                String msg = "The font " + this.fontFileURI + " is not embeddable.";
+                String msg = "The font " + this.fontFileURI + " is not embeddable due to a"
+                        + " licensing restriction.";
                 throw new RuntimeException(msg);
             }
         }