diff options
author | Jeremias Maerki <jeremias@apache.org> | 2006-10-11 14:30:34 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2006-10-11 14:30:34 +0000 |
commit | 459e89e3636ccfacfa71495870adda877475bf52 (patch) | |
tree | bd809035bcd1de8cf4c810e8821d5daed970f6dc /src | |
parent | 4d444be7c1175608f9a0f6207744459a41e00780 (diff) | |
download | xmlgraphics-fop-459e89e3636ccfacfa71495870adda877475bf52.tar.gz xmlgraphics-fop-459e89e3636ccfacfa71495870adda877475bf52.zip |
Tabs again. :-)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@462814 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/pdf/PDFToUnicodeCMap.java | 22 |
1 files 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; } |