aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorChristian Geisert <chrisg@apache.org>2002-09-02 17:40:54 +0000
committerChristian Geisert <chrisg@apache.org>2002-09-02 17:40:54 +0000
commitb354578c727c5198ac7e2741cd15586786374a1d (patch)
tree464c9130b5a87c7aba1654367c4d31d514ad2ada /build.xml
parentc6f56b85d9e88e1bf38eb2aa33a00d8fd3a75c90 (diff)
downloadxmlgraphics-fop-b354578c727c5198ac7e2741cd15586786374a1d.tar.gz
xmlgraphics-fop-b354578c727c5198ac7e2741cd15586786374a1d.zip
fixed problem with font metrics generation and jdk1.4
(the problem is a old xalan version which comes with the jdk) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195138 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml98
1 files changed, 98 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 80915ab57..8e665fa1b 100644
--- a/build.xml
+++ b/build.xml
@@ -248,6 +248,19 @@ Sometimes ant gives out this warnings, but the build is finished without any pro
<property name="fontfile.xsl" value="${build.codegen}/font-file.xsl"/>
<property name="t1fontfile.xsl" value="${build.codegen}/t1font-file.xsl"/>
<property name="ttffontfile.xsl" value="${build.codegen}/ttffontfile.xsl"/>
+
+ <property name="Courier.xml" value="${build.codegen}/Courier.xml"/>
+ <property name="Courier-Oblique.xml" value="${build.codegen}/CourierOblique.xml"/>
+ <property name="Courier-Bold.xml" value="${build.codegen}/CourierBold.xml"/>
+ <property name="Courier-BoldOblique.xml" value="${build.codegen}/CourierBoldOblique.xml"/>
+ <property name="Helvetica.xml" value="${build.codegen}/Helvetica.xml"/>
+ <property name="Helvetica-Oblique.xml" value="${build.codegen}/HelveticaOblique.xml"/>
+ <property name="Helvetica-Bold.xml" value="${build.codegen}/HelveticaBold.xml"/>
+ <property name="Helvetica-BoldOblique.xml" value="${build.codegen}/HelveticaBoldOblique.xml"/>
+ <property name="Times-Roman.xml" value="${build.codegen}/TimesRoman.xml"/>
+ <property name="Times-Italic.xml" value="${build.codegen}/TimesItalic.xml"/>
+ <property name="Times-Bold.xml" value="${build.codegen}/TimesBold.xml"/>
+ <property name="Times-BoldItalic.xml" value="${build.codegen}/TimesBoldItalic.xml"/>
<property name="ZapfDingbats.xml" value="${build.codegen}/ZapfDingbats.xml"/>
<property name="Symbol.xml" value="${build.codegen}/Symbol.xml"/>
@@ -387,11 +400,96 @@ Sometimes ant gives out this warnings, but the build is finished without any pro
<style in="${encodings.xml}" style="${charlist.xsl}"
out="${build.src}/${replacestring}/render/pdf/CodePointMapping.java"/>
+ <!--
<style basedir="src/codegen" includes="Helvetica*.xml,Times*.xml,Courier*.xml"
style="${fontfile.xsl}"
destdir="${build.src}/${replacestring}/render/pdf/fonts" extension=".java">
<param name="encoding" expression="${textfontencoding}"/>
</style>
+ -->
+
+ <style
+ in="${Courier.xml}" style="${fontfile.xsl}"
+ destdir="${build.src}/${replacestring}/render/pdf/fonts"
+ out="${build.src}/${replacestring}/render/pdf/fonts/Courier.java">
+ <param name="encoding" expression="${textfontencoding}"/>
+ </style>
+ <style
+ in="${Courier-Oblique.xml}" style="${fontfile.xsl}"
+ destdir="${build.src}/${replacestring}/render/pdf/fonts"
+ out="${build.src}/${replacestring}/render/pdf/fonts/CourierOblique.java">
+ <param name="encoding" expression="${textfontencoding}"/>
+ </style>
+ <style
+ in="${Courier-Bold.xml}" style="${fontfile.xsl}"
+ destdir="${build.src}/${replacestring}/render/pdf/fonts"
+ out="${build.src}/${replacestring}/render/pdf/fonts/CourierBold.java">
+ <param name="encoding" expression="${textfontencoding}"/>
+ </style>
+ <style
+ in="${Courier-BoldOblique.xml}" style="${fontfile.xsl}"
+ destdir="${build.src}/${replacestring}/render/pdf/fonts"
+ out="${build.src}/${replacestring}/render/pdf/fonts/CourierBoldOblique.java">
+ <param name="encoding" expression="${textfontencoding}"/>
+ </style>
+ <style
+ in="${Helvetica.xml}" style="${fontfile.xsl}"
+ destdir="${build.src}/${replacestring}/render/pdf/fonts"
+ out="${build.src}/${replacestring}/render/pdf/fonts/Helvetica.java">
+ <param name="encoding" expression="${textfontencoding}"/>
+ </style>
+ <style
+ in="${Helvetica-Bold.xml}" style="${fontfile.xsl}"
+ destdir="${build.src}/${replacestring}/render/pdf/fonts"
+ out="${build.src}/${replacestring}/render/pdf/fonts/HelveticaBold.java">
+ <param name="encoding" expression="${textfontencoding}"/>
+ </style>
+ <style
+ in="${Helvetica-Oblique.xml}" style="${fontfile.xsl}"
+ destdir="${build.src}/${replacestring}/render/pdf/fonts"
+ out="${build.src}/${replacestring}/render/pdf/fonts/HelveticaOblique.java">
+ <param name="encoding" expression="${textfontencoding}"/>
+ </style>
+ <style
+ in="${Helvetica-BoldOblique.xml}" style="${fontfile.xsl}"
+ destdir="${build.src}/${replacestring}/render/pdf/fonts"
+ out="${build.src}/${replacestring}/render/pdf/fonts/HelveticaBoldOblique.java">
+ <param name="encoding" expression="${textfontencoding}"/>
+ </style>
+ <style
+ in="${Times-Roman.xml}" style="${fontfile.xsl}"
+ destdir="${build.src}/${replacestring}/render/pdf/fonts"
+ out="${build.src}/${replacestring}/render/pdf/fonts/TimesRoman.java">
+ <param name="encoding" expression="${textfontencoding}"/>
+ </style>
+ <style
+ in="${Times-Italic.xml}" style="${fontfile.xsl}"
+ destdir="${build.src}/${replacestring}/render/pdf/fonts"
+ out="${build.src}/${replacestring}/render/pdf/fonts/TimesItalic.java">
+ <param name="encoding" expression="${textfontencoding}"/>
+ </style>
+ <style
+ in="${Times-Bold.xml}" style="${fontfile.xsl}"
+ destdir="${build.src}/${replacestring}/render/pdf/fonts"
+ out="${build.src}/${replacestring}/render/pdf/fonts/TimesBold.java">
+ <param name="encoding" expression="${textfontencoding}"/>
+ </style>
+ <style
+ in="${Times-BoldItalic.xml}" style="${fontfile.xsl}"
+ destdir="${build.src}/${replacestring}/render/pdf/fonts"
+ out="${build.src}/${replacestring}/render/pdf/fonts/TimesBoldItalic.java">
+ <param name="encoding" expression="${textfontencoding}"/>
+ </style>
+ <style
+ in="${Symbol.xml}" style="${fontfile.xsl}"
+ destdir="${build.src}/${replacestring}/render/pdf/fonts"
+ out="${build.src}/${replacestring}/render/pdf/fonts/Symbol.java"/>
+ <style
+ in="${ZapfDingbats.xml}" style="${fontfile.xsl}"
+ destdir="${build.src}/${replacestring}/render/pdf/fonts"
+ out="${build.src}/${replacestring}/render/pdf/fonts/ZapfDingbats.java"/>
+
+
<style
in="${Symbol.xml}" style="${fontfile.xsl}"
out="${build.src}/${replacestring}/render/pdf/fonts/Symbol.java"/>