aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/pdf
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2003-04-03 12:53:44 +0000
committerJeremias Maerki <jeremias@apache.org>2003-04-03 12:53:44 +0000
commit6b9af7902e76938f4ec90003b2abba3d1c2ac629 (patch)
tree6b7043c5290390ccf2293bdcc16b33d1b7c0a353 /src/java/org/apache/fop/pdf
parentf3694e125312a451f2036927c02c3652037c647d (diff)
downloadxmlgraphics-fop-6b9af7902e76938f4ec90003b2abba3d1c2ac629.tar.gz
xmlgraphics-fop-6b9af7902e76938f4ec90003b2abba3d1c2ac629.zip
Fix TrueType embedding. Width array did not reflect the subset. Was my bad.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196205 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/pdf')
-rw-r--r--src/java/org/apache/fop/pdf/PDFFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/pdf/PDFFactory.java b/src/java/org/apache/fop/pdf/PDFFactory.java
index ceeba8915..ec5d772a6 100644
--- a/src/java/org/apache/fop/pdf/PDFFactory.java
+++ b/src/java/org/apache/fop/pdf/PDFFactory.java
@@ -1023,7 +1023,7 @@ public class PDFFactory {
new PDFCIDFont(basefont,
cidMetrics.getCIDType(),
cidMetrics.getDefaultWidth(),
- cidMetrics.getWidths(), sysInfo,
+ cidMetrics.getSubsetWidths(), sysInfo,
(PDFCIDFontDescriptor)pdfdesc);
getDocument().registerObject(cidFont);