aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/pdf/PDFDocument.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/pdf/PDFDocument.java')
-rw-r--r--src/org/apache/fop/pdf/PDFDocument.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/apache/fop/pdf/PDFDocument.java b/src/org/apache/fop/pdf/PDFDocument.java
index d93367faa..a259238a2 100644
--- a/src/org/apache/fop/pdf/PDFDocument.java
+++ b/src/org/apache/fop/pdf/PDFDocument.java
@@ -763,7 +763,7 @@ public class PDFDocument {
PDFFontDescriptor pdfdesc = makeFontDescriptor(descriptor);
font.setDescriptor(pdfdesc);
font.setWidthMetrics(metrics.getFirstChar(), metrics.getLastChar(),
- makeArray(metrics.getWidths()));
+ makeArray(metrics.getWidths(1)));
return font;
}
}