--- old/src/share/classes/sun/font/FileFontStrike.java 2014-01-25 11:00:50.000000000 -0800 +++ new/src/share/classes/sun/font/FileFontStrike.java 2014-01-25 11:00:50.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -728,7 +728,7 @@ if ((desc.aaHint == INTVAL_TEXT_ANTIALIAS_LCD_HRGB || desc.aaHint == INTVAL_TEXT_ANTIALIAS_LCD_HBGR) && topLeftX <= -2.0f) { - int minx = getGlyphImageMinX(ptr, (int)result.x); + int minx = getGlyphImageMinX(ptr, result.x); if (minx > result.x) { result.x += 1; result.width -=1; @@ -912,7 +912,7 @@ if (outlineMapRef != null) { outlineMap = outlineMapRef.get(); if (outlineMap != null) { - gp = (GeneralPath)outlineMap.get(glyphCode); + gp = outlineMap.get(glyphCode); } }