aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/layout/FontMetric.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/layout/FontMetric.java')
-rw-r--r--src/org/apache/fop/layout/FontMetric.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/org/apache/fop/layout/FontMetric.java b/src/org/apache/fop/layout/FontMetric.java
index 93b60ae92..99c15b7f9 100644
--- a/src/org/apache/fop/layout/FontMetric.java
+++ b/src/org/apache/fop/layout/FontMetric.java
@@ -25,5 +25,11 @@ public interface FontMetric {
* code point i
*/
public int width(int i, int size);
+
+ /**
+ * Return the array of widths.
+ * This is used to get an array for inserting in an output format.
+ * It should not be used for lookup.
+ */
public int[] getWidths(int size);
}