diff options
author | Glen Mazza <gmazza@apache.org> | 2004-06-23 00:25:27 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-06-23 00:25:27 +0000 |
commit | f575d5d538b1e9d2ff86a44f81247466d78ee77c (patch) | |
tree | 0b97a698d1b47548460fd33336c513f0afb13ec0 /src/java/org/apache/fop/fonts/apps | |
parent | e010763a75610e265e97c448557ad6159a0e0a64 (diff) | |
download | xmlgraphics-fop-f575d5d538b1e9d2ff86a44f81247466d78ee77c.tar.gz xmlgraphics-fop-f575d5d538b1e9d2ff86a44f81247466d78ee77c.zip |
1.) Moving renderer-specific customization variables (producer, creator, create date) to FOUserAgent, those renderers which can work with these values can read them from passed-in FOUserAgent instance.
2.) Version.getVersion() moved to Fop.getVersion().
3.) Validation added for fo:region-body.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197743 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fonts/apps')
-rw-r--r-- | src/java/org/apache/fop/fonts/apps/PFMReader.java | 4 | ||||
-rw-r--r-- | src/java/org/apache/fop/fonts/apps/TTFReader.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/fonts/apps/PFMReader.java b/src/java/org/apache/fop/fonts/apps/PFMReader.java index b58a8ec23..822945a03 100644 --- a/src/java/org/apache/fop/fonts/apps/PFMReader.java +++ b/src/java/org/apache/fop/fonts/apps/PFMReader.java @@ -36,7 +36,7 @@ import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; //FOP -import org.apache.fop.apps.Version; +import org.apache.fop.apps.Fop; import org.apache.fop.fonts.type1.PFMFile; /** @@ -144,7 +144,7 @@ public class PFMReader { PFMReader app = new PFMReader(); - System.out.println("PFM Reader for Apache FOP " + Version.getVersion() + "\n"); + System.out.println("PFM Reader for Apache FOP " + Fop.getVersion() + "\n"); if (options.get("-ef") != null) { embFile = (String)options.get("-ef"); diff --git a/src/java/org/apache/fop/fonts/apps/TTFReader.java b/src/java/org/apache/fop/fonts/apps/TTFReader.java index 12ad63b30..940eb4c08 100644 --- a/src/java/org/apache/fop/fonts/apps/TTFReader.java +++ b/src/java/org/apache/fop/fonts/apps/TTFReader.java @@ -35,7 +35,7 @@ import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; //FOP -import org.apache.fop.apps.Version; +import org.apache.fop.apps.Fop; import org.apache.fop.fonts.truetype.FontFileReader; import org.apache.fop.fonts.truetype.TTFCmapEntry; import org.apache.fop.fonts.truetype.TTFFile; @@ -160,7 +160,7 @@ public class TTFReader { TTFReader app = new TTFReader(); - System.out.println("TTF Reader for Apache FOP " + Version.getVersion() + "\n"); + System.out.println("TTF Reader for Apache FOP " + Fop.getVersion() + "\n"); if (options.get("-enc") != null) { String enc = (String)options.get("-enc"); |