]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
re-enabled generated ToUnicode table foray-font foray-font
authorBertrand Delacretaz <bdelacretaz@apache.org>
Thu, 28 Sep 2006 14:39:31 +0000 (14:39 +0000)
committerBertrand Delacretaz <bdelacretaz@apache.org>
Thu, 28 Sep 2006 14:39:31 +0000 (14:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/foray-font@450872 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/pdf/PDFToUnicodeCMap.java

index 9d7567a5ba63d7943b59ab2db2b250f5a7f65968..5a038eb8607083deebf561cc87475d5cc41cef8d 100644 (file)
@@ -53,7 +53,8 @@ public class PDFToUnicodeCMap extends PDFCMap {
         this.fsFont = fsFont;
     }
 
-    public void fillInPDF(final StringBuffer p) {
+    /** TODO remove this method, used for simulation only */
+    public void DISABLED_fillInPDF(final StringBuffer p) {
         // Just a fixed simulated cmap to test the basic mechanism,
         // won't work correctly for many chars, of course
         final String simulatedIdentityCmap = 
@@ -70,8 +71,10 @@ public class PDFToUnicodeCMap extends PDFCMap {
         +"\n1 begincodespacerange"
         +"\n<0000> <FFFF>"
         +"\nendcodespacerange"
-        +"\n1 beginbfrange"
-        +"\n<0000> <005E> <001F>"
+        +"\n2 beginbfrange"
+        +"\n<000a> <0040> <0029>"
+        +"\n<0043> <005f> <0062>"
+        //+"\n<0000> <005E> <001F>"
         +"\nendbfrange"
         +"\nendcmap"
         +"\nCMapName currentdict /CMapdefineresource pop"
@@ -81,7 +84,7 @@ public class PDFToUnicodeCMap extends PDFCMap {
         add(simulatedIdentityCmap);
     }
 
-    public void DISABLED_fillInPDF(final StringBuffer p) {
+    public void fillInPDF(final StringBuffer p) {
         writeCIDInit(p);
         writeCIDSystemInfo(p);
         writeVersionTypeName(p);