From 459e89e3636ccfacfa71495870adda877475bf52 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Wed, 11 Oct 2006 14:30:34 +0000 Subject: [PATCH] Tabs again. :-) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@462814 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/fop/pdf/PDFToUnicodeCMap.java | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/java/org/apache/fop/pdf/PDFToUnicodeCMap.java b/src/java/org/apache/fop/pdf/PDFToUnicodeCMap.java index 32a9faa23..cacab3bab 100644 --- a/src/java/org/apache/fop/pdf/PDFToUnicodeCMap.java +++ b/src/java/org/apache/fop/pdf/PDFToUnicodeCMap.java @@ -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; } -- 2.39.5