aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
authorMehdi Houshmand <mehdi@apache.org>2012-01-24 17:02:03 +0000
committerMehdi Houshmand <mehdi@apache.org>2012-01-24 17:02:03 +0000
commitf02df0822b06b0d4a3fad950f4dd335515ebe563 (patch)
tree6b5af958613317b755ade2bf6d9c98daa771327d /src/java
parentb406b736d9f9896aecfe7f5acf1e4759cb5c3d56 (diff)
downloadxmlgraphics-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.java3
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);
}
}