diff options
author | fotis <fotis@unknown> | 2000-11-16 15:37:01 +0000 |
---|---|---|
committer | fotis <fotis@unknown> | 2000-11-16 15:37:01 +0000 |
commit | ff5f56081090a486965e0c766b1a5119dc6ed884 (patch) | |
tree | 7e6963b7d5a409f6076665b2c63f5624a5cde446 /src/org/apache/fop/pdf/PDFDocument.java | |
parent | 8704ded58939a15b4ea557095ddff2d485e39296 (diff) | |
download | xmlgraphics-fop-ff5f56081090a486965e0c766b1a5119dc6ed884.tar.gz xmlgraphics-fop-ff5f56081090a486965e0c766b1a5119dc6ed884.zip |
AWTRenderer uses now system fonts and not pdf fonts. All (error) messages
are handled in the Gui [Dorothea Wiarda]
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193823 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/pdf/PDFDocument.java')
-rw-r--r-- | src/org/apache/fop/pdf/PDFDocument.java | 2 |
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; } } |