pbwest 2004/03/10 04:36:53 Modified: src/java/org/apache/fop/fonts Tag: FOP_0-20-0_Alt-Design MultiByteFont.java FontUtil.java Font.java Log: Cosmetic changes to keep Eclipse happy Revision Changes Path No revision No revision 1.5.2.2 +1 -1 xml-fop/src/java/org/apache/fop/fonts/MultiByteFont.java Index: MultiByteFont.java =================================================================== RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fonts/MultiByteFont.java,v retrieving revision 1.5.2.1 retrieving revision 1.5.2.2 diff -u -r1.5.2.1 -r1.5.2.2 --- MultiByteFont.java 10 Mar 2004 06:24:28 -0000 1.5.2.1 +++ MultiByteFont.java 10 Mar 2004 12:36:53 -0000 1.5.2.2 @@ -200,7 +200,7 @@ * @see org.apache.fop.fonts.Font#mapChar(char) */ public char mapChar(char c) { - int idx = (int)c; + int idx = c; int retIdx = 0; for (int i = 0; (i < bfentries.length) && retIdx == 0; i++) { 1.2.2.2 +2 -2 xml-fop/src/java/org/apache/fop/fonts/FontUtil.java Index: FontUtil.java =================================================================== RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fonts/FontUtil.java,v retrieving revision 1.2.2.1 retrieving revision 1.2.2.2 diff -u -r1.2.2.1 -r1.2.2.2 --- FontUtil.java 10 Mar 2004 06:24:28 -0000 1.2.2.1 +++ FontUtil.java 10 Mar 2004 12:36:53 -0000 1.2.2.2 @@ -35,7 +35,7 @@ int weight = 400; try { weight = Integer.parseInt(text); - weight = ((int)weight / 100) * 100; + weight = (weight / 100) * 100; weight = Math.max(weight, 100); weight = Math.min(weight, 900); } catch (NumberFormatException nfe) { 1.1.2.4 +0 -1 xml-fop/src/java/org/apache/fop/fonts/Font.java Index: Font.java =================================================================== RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fonts/Font.java,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -u -r1.1.2.3 -r1.1.2.4 --- Font.java 10 Mar 2004 06:24:28 -0000 1.1.2.3 +++ Font.java 10 Mar 2004 12:36:53 -0000 1.1.2.4 @@ -182,7 +182,6 @@ * This also performs some guessing on widths on various * versions of space that might not exists in the font. * @param c character to inspect - * @param fs FontState to use * @return the width of the character */ public int getCharWidth(char c) {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]