< prev index next >

src/java.desktop/share/classes/sun/font/ExtendedTextSourceLabel.java

Print this page

        

@@ -777,11 +777,11 @@
          */
         int tgt;
         if (gx == gxlimit) {
            tgt = charInfo.length / numvals;
         } else {
-           tgt = indices[gx]-1;
+           tgt = indices[gx];
         }
         if (DEBUG) {
            System.err.println("gx=" + gx + " gxlimit=" + gxlimit +
                               " charInfo.len=" + charInfo.length +
                               " tgt=" + tgt + " cc=" + cc + " cp=" + cp);
< prev index next >