# HG changeset patch # User Stefan Vogel # Date 1470739238 -7200 # Node ID 7e125a2e8052999b1bb924937ad0f8f6dc566edf # Parent c724098748cf8c2d0ab72dbd04d770c454da9336 #REFACTORING by stefan class: JavaNativeMethodImpl_OpenJDK6 changed: #_WGraphics_drawMFCharsSegment: use #deviceFont instead of #createFontOnDevice diff -r c724098748cf -r 7e125a2e8052 JavaNativeMethodImpl_OpenJDK6.st --- a/JavaNativeMethodImpl_OpenJDK6.st Mon Aug 08 19:44:41 2016 +0200 +++ b/JavaNativeMethodImpl_OpenJDK6.st Tue Aug 09 12:40:38 2016 +0200 @@ -5336,7 +5336,7 @@ 'drawMFCharsSegment x/y= ' print. x print. '@' print. y print. ' s= ' print. s printCR. ]. gc displayString:s from:offs+1 to:offs+len x:x y:y. - ^ (gc font onDevice:(gc graphicsDevice)) widthOf:s. + ^ gc deviceFont widthOf:s. "Created: / 6.1.1998 / 21:01:07 / cg" "Modified: / 25.1.1998 / 20:45:55 / cg"