]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Temporary fix to the build
authorAdrian Cumiskey <acumiskey@apache.org>
Thu, 6 Dec 2007 11:57:14 +0000 (11:57 +0000)
committerAdrian Cumiskey <acumiskey@apache.org>
Thu, 6 Dec 2007 11:57:14 +0000 (11:57 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601712 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/render/afp/AFPRenderer.java

index 27c363907e6b7fdd317fde9e809a8be4fd4c2365..3a228e17254b659d256c80f1e16dc7403c8bb202 100644 (file)
@@ -600,7 +600,7 @@ public class AFPRenderer extends AbstractPathOrientedRenderer {
             AFPFontAttributes afpFontAttributes = (AFPFontAttributes) i.next();
 
             afpDataStream.createFont(
-                afpFontAttributes.getFontReference(),
+                (byte)afpFontAttributes.getFontReference(),
                 afpFontAttributes.getFont(),
                 afpFontAttributes.getPointSize());