diff options
author | Mehdi Houshmand <mehdi@apache.org> | 2012-01-24 17:02:03 +0000 |
---|---|---|
committer | Mehdi Houshmand <mehdi@apache.org> | 2012-01-24 17:02:03 +0000 |
commit | f02df0822b06b0d4a3fad950f4dd335515ebe563 (patch) | |
tree | 6b5af958613317b755ade2bf6d9c98daa771327d /src/java | |
parent | b406b736d9f9896aecfe7f5acf1e4759cb5c3d56 (diff) | |
download | xmlgraphics-fop-f02df0822b06b0d4a3fad950f4dd335515ebe563.tar.gz xmlgraphics-fop-f02df0822b06b0d4a3fad950f4dd335515ebe563.zip |
Amended error message to describe licensing restriction flag in font
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1235358 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/org/apache/fop/fonts/truetype/TTFFontLoader.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fonts/truetype/TTFFontLoader.java b/src/java/org/apache/fop/fonts/truetype/TTFFontLoader.java index a33339607..f9be8e010 100644 --- a/src/java/org/apache/fop/fonts/truetype/TTFFontLoader.java +++ b/src/java/org/apache/fop/fonts/truetype/TTFFontLoader.java @@ -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); } } |