]> _ Git - cubeextranet.git/commitdiff
(no commit message)
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Sat, 20 Aug 2011 17:09:24 +0000 (17:09 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Sat, 20 Aug 2011 17:09:24 +0000 (17:09 +0000)
fluidbook/tools/fwstk/nbproject/private/configs/Make_images.properties
fluidbook/tools/fwstk/src/org/apache/pdfbox/util/PDFStreamEngine.java

index 38d131697cac64b8bef34c6b88927ac182f462df..e609fd657039b6b859f36483ff3917da00aaf1ef 100644 (file)
@@ -1 +1 @@
-application.args=--input C:\\Users\\Vincent\\Documents\\layout\\document.pdf --image C:\\Users\\Vincent\\Documents\\layout\\p\r
+application.args=--input H:\\Documents\\fwstk\\layout\\document.pdf --image H:\\Documents\\fwstk\\layout\\p\r
index 03e0174c702d4f9104ce5ddbe78805fbe43f8513..4174288e46bdee9daea786e7542fa9f8a5f9d5a7 100644 (file)
@@ -373,15 +373,17 @@ public class PDFStreamEngine {
 
                        try {
                                String currentChar = Character.toString(currentString.charAt(i));
-                               if (c.toUpperCase().equals(currentChar)) {
-                                       System.out.println("up");
-                                       c = c.toUpperCase();
-                               } else if (c.toLowerCase().equals(currentChar)) {
-                                       System.out.println("low");
-                                       c = c.toLowerCase();
+                               if (!currentChar.equals(c)) {
+                                       if (c.toUpperCase().equals(currentChar)) {
+                                               c = c.toUpperCase();
+                                       } else if (c.toLowerCase().equals(currentChar)) {
+                                               c = c.toLowerCase();
+                                       }
                                }
                        } catch (NullPointerException | StringIndexOutOfBoundsException e) {
                        }
+                       
+                       
 
                        //System.out.println(c+";"+currentString.charAt(i));