Author: mehdi
Date: Tue Jan 24 17:02:03 2012
New Revision: 1235358
URL: http://svn.apache.org/viewvc?rev=1235358&view=rev
Log:
Amended error message to describe licensing restriction flag in font
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/truetype/TTFFontLoader.java
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/truetype/TTFFontLoader.java
URL:
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/truetype/TTFFontLoader.java?rev=1235358&r1=1235357&r2=1235358&view=diff
==============================================================================
---
xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/truetype/TTFFontLoader.java
(original)
+++
xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/truetype/TTFFontLoader.java
Tue Jan 24 17:02:03 2012
@@ -173,7 +173,8 @@ public class TTFFontLoader extends FontL
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);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]