aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/pdf/PDFCIDFontDescriptor.java
diff options
context:
space:
mode:
authorfotis <fotis@unknown>2001-02-27 12:30:36 +0000
committerfotis <fotis@unknown>2001-02-27 12:30:36 +0000
commit375b678502231f5577d5b18550c35678d11e11d8 (patch)
treee4a11a39dc47debb1465ec80f686c553caa5a4a6 /src/org/apache/fop/pdf/PDFCIDFontDescriptor.java
parent440ec1d3a5601f93e8798acd8a6325c39a19ddd9 (diff)
downloadxmlgraphics-fop-375b678502231f5577d5b18550c35678d11e11d8.tar.gz
xmlgraphics-fop-375b678502231f5577d5b18550c35678d11e11d8.zip
enabling CID keyed truetype fonts; this gives support
for other encodings than WinAnsiEncoding (eg japanese, chinese, arabic, iso-whatever, etc). Also makes font inclusion easier Tore Engvig git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194095 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/pdf/PDFCIDFontDescriptor.java')
-rw-r--r--src/org/apache/fop/pdf/PDFCIDFontDescriptor.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/apache/fop/pdf/PDFCIDFontDescriptor.java b/src/org/apache/fop/pdf/PDFCIDFontDescriptor.java
index 9e8cddec5..eabc818e6 100644
--- a/src/org/apache/fop/pdf/PDFCIDFontDescriptor.java
+++ b/src/org/apache/fop/pdf/PDFCIDFontDescriptor.java
@@ -92,6 +92,7 @@ public class PDFCIDFontDescriptor extends PDFFontDescriptor {
}
protected void fillInPDF(StringBuffer p) {
+ p.append("\n/MissingWidth 500\n");
if (lang != null) {
p.append("\n/Lang /"); p.append(lang);
}