#REFACTORING by stefan
class: JavaNativeMethodImpl_OpenJDK6
changed: #_WGraphics_drawMFCharsSegment:
use #deviceFont instead of #createFontOnDevice
--- 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"