]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Tabs again. :-)
authorJeremias Maerki <jeremias@apache.org>
Wed, 11 Oct 2006 14:30:34 +0000 (14:30 +0000)
committerJeremias Maerki <jeremias@apache.org>
Wed, 11 Oct 2006 14:30:34 +0000 (14:30 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@462814 13f79535-47bb-0310-9956-ffa450edef68

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

index 32a9faa23563fca492bb61c4fd30b0d4162a6107..cacab3bab01b5f032fe39da3e1c32f72d5acde2f 100644 (file)
@@ -120,10 +120,10 @@ public class PDFToUnicodeCMap extends PDFCMap {
             int entriesThisSection = Math.min(remainingEntries, 100);
             p.append(entriesThisSection + " beginbfchar\n");
             for (int i = 0; i < entriesThisSection; i++) {
-               /* Go to the next char not in a range */
-               while (partOfRange(charArray, charIndex)) {
-                       charIndex++;
-               }
+                /* Go to the next char not in a range */
+                while (partOfRange(charArray, charIndex)) {
+                    charIndex++;
+                }
                 p.append("<" + padHexString(Integer.toHexString(charIndex), 4) + "> ");
                 p.append("<" + padHexString(Integer.toHexString(charArray[charIndex]), 4) + ">\n");
                 charIndex++;
@@ -155,14 +155,14 @@ public class PDFToUnicodeCMap extends PDFCMap {
             int entriesThisSection = Math.min(remainingEntries, 100);
             p.append(entriesThisSection + " beginbfrange\n");
             for (int i = 0; i < entriesThisSection; i++) {
-               /* Go to the next start of a range */
-               while (!startOfRange(charArray, charIndex)) {
-                       charIndex++;
-               }
+                /* Go to the next start of a range */
+                while (!startOfRange(charArray, charIndex)) {
+                    charIndex++;
+                }
                 p.append("<" + padHexString(Integer.toHexString(charIndex), 4) + "> ");
                 p.append("<"
-                               + padHexString(Integer.toHexString(endOfRange(charArray, charIndex)), 4)
-                               + "> ");
+                        + padHexString(Integer.toHexString(endOfRange(charArray, charIndex)), 4)
+                        + "> ");
                 p.append("<" + padHexString(Integer.toHexString(charArray[charIndex]), 4) + ">\n");
                 charIndex++;
             }
@@ -181,7 +181,7 @@ public class PDFToUnicodeCMap extends PDFCMap {
     private int endOfRange(char[] charArray, int startOfRange) {
         int i = startOfRange;
         while (i < charArray.length - 1 && sameRangeEntryAsNext(charArray, i)) {
-               i++;
+            i++;
         }
         return i;
     }