You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by me...@apache.org on 2012/01/24 18:02:03 UTC

svn commit: r1235358 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/truetype/TTFFontLoader.java

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: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org