#REFACTORING by stefan cvs_MAIN
authorStefan Vogel <sv@exept.de>
Tue, 09 Aug 2016 12:40:38 +0200
branchcvs_MAIN
changeset 3613 7e125a2e8052
parent 3611 c724098748cf
child 3614 5b215f7525c2
#REFACTORING by stefan class: JavaNativeMethodImpl_OpenJDK6 changed: #_WGraphics_drawMFCharsSegment: use #deviceFont instead of #createFontOnDevice
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"