aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorfotis <fotis@unknown>2000-11-02 12:48:33 +0000
committerfotis <fotis@unknown>2000-11-02 12:48:33 +0000
commitd781b5bb875bd8f73bfb9e97ed40d55a3c642e31 (patch)
tree3565df0d1f399b2eec075c4216f848fea938a72d /build.xml
parentbacbe7a0915fbb7b4c22b623f97a11352cf5d0b1 (diff)
downloadxmlgraphics-fop-d781b5bb875bd8f73bfb9e97ed40d55a3c642e31.tar.gz
xmlgraphics-fop-d781b5bb875bd8f73bfb9e97ed40d55a3c642e31.zip
adds support for type 1 fonts by Jeremias Maerki <jeremias.maerki@outline.ch>
based on work by Alain Fagot git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193740 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 8d52fa12c..82ae5904b 100644
--- a/build.xml
+++ b/build.xml
@@ -171,6 +171,7 @@ Sometimes ant gives out this warnings, but the build is finished without any pro
<property name="charlist.xml" value="${build.codegen}/charlist.xml"/>
<property name="charlist.xsl" value="${build.codegen}/code-point-mapping.xsl"/>
<property name="fontfile.xsl" value="${build.codegen}/font-file.xsl"/>
+ <property name="t1fontfile.xsl" value="${build.codegen}/t1font-file.xsl"/>
<property name="Courier.xml" value="${build.codegen}/Courier.xml"/>
<property name="Courier-Oblique.xml" value="${build.codegen}/Courier-Oblique.xml"/>
<property name="Courier-Bold.xml" value="${build.codegen}/Courier-Bold.xml"/>
@@ -186,6 +187,11 @@ Sometimes ant gives out this warnings, but the build is finished without any pro
<property name="ZapfDingbats.xml" value="${build.codegen}/ZapfDingbats.xml"/>
<property name="Symbol.xml" value="${build.codegen}/Symbol.xml"/>
+ <!-- insert custom font information here (step 1 of 2) -->
+ <!-- use this as a template
+ <property name="myfont.xml" value="${build.codegen}/myfont.xml"/>
+ -->
+
<taskdef name="xslt" classname="Xslt"/>
<available property="xt.present" classname="com.jclark.xsl.sax.XSLProcessor"/>
<available property="jimi.present" classname="com.sun.jimi.core.Jimi"/>
@@ -306,6 +312,12 @@ Sometimes ant gives out this warnings, but the build is finished without any pro
<xslt infile="${Symbol.xml}" xsltfile="${fontfile.xsl}"
outfile="${build.src}/${replacestring}/render/pdf/fonts/Symbol.java" smart="yes"/>
+ <!-- custom fonts (Use t1fontfile.xsl instead of fontfile.xsl for Type 1 fonts!) step 2/2 -->
+ <!-- use this as a template
+ <xslt infile="${myfont.xml}" xsltfile="${t1fontfile.xsl}"
+ outfile="${build.src}/${replacestring}/render/pdf/fonts/myfont.java" smart="yes"/>
+ -->
+
</target>