aboutsummaryrefslogtreecommitdiffstats
path: root/src/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/org')
-rw-r--r--src/org/apache/fop/pdf/PDFDocument.java21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/org/apache/fop/pdf/PDFDocument.java b/src/org/apache/fop/pdf/PDFDocument.java
index b0314cb3b..d96654a3e 100644
--- a/src/org/apache/fop/pdf/PDFDocument.java
+++ b/src/org/apache/fop/pdf/PDFDocument.java
@@ -770,17 +770,20 @@ public class PDFDocument {
PDFFontNonBase14 font = null;
if (subtype == PDFFont.TYPE0) {
- PDFCMap cmap = new PDFCMap(++this.objectcount,
- "fop-ucs-H",
- new PDFCIDSystemInfo("Adobe",
- "Identity",
- 0));
- cmap.addContents();
- this.objects.addElement(cmap);
-
+ /*
+ * Temporary commented out - customized CMaps
+ * isn't needed until /ToUnicode support is added
+ PDFCMap cmap = new PDFCMap(++this.objectcount,
+ "fop-ucs-H",
+ new PDFCIDSystemInfo("Adobe",
+ "Identity",
+ 0));
+ cmap.addContents();
+ this.objects.addElement(cmap);
+ */
font = (PDFFontNonBase14)PDFFont.createFont(
++this.objectcount, fontname,
- subtype, basefont, cmap);
+ subtype, basefont, "Identity-H");
} else {
font = (PDFFontNonBase14)PDFFont.createFont(