diff options
author | Dirk-Willem van Gulik <dirkx@apache.org> | 1999-11-08 19:12:49 +0000 |
---|---|---|
committer | Dirk-Willem van Gulik <dirkx@apache.org> | 1999-11-08 19:12:49 +0000 |
commit | 10070e8383ff94f3f256e346b8c4a2a493533cfb (patch) | |
tree | 59080d7faae7c0bd9ff4e5a48f4df4394d468a02 /src/org/apache/fop/layout/FontMetric.java | |
parent | b510e7f15a798e944bb138993f2b586413adecbe (diff) | |
download | xmlgraphics-fop-10070e8383ff94f3f256e346b8c4a2a493533cfb.tar.gz xmlgraphics-fop-10070e8383ff94f3f256e346b8c4a2a493533cfb.zip |
Initial revision
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193213 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/layout/FontMetric.java')
-rw-r--r-- | src/org/apache/fop/layout/FontMetric.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/org/apache/fop/layout/FontMetric.java b/src/org/apache/fop/layout/FontMetric.java new file mode 100644 index 000000000..8f157960c --- /dev/null +++ b/src/org/apache/fop/layout/FontMetric.java @@ -0,0 +1,17 @@ +package org.apache.xml.fop.layout; + +/** + * interface for font metric classes + */ +public interface FontMetric { + int getAscender(); + int getCapHeight(); + int getDescender(); + int getXHeight(); + + /** + * return width (in 1/1000ths of point size) of character at + * code point i + */ + public int width(int i); +} |