]> gitweb.factorcode.org Git - factor.git/commitdiff
Call ScriptStringOut with ETO_OPAQUE
authorU-SLAVA-DFB8FF805\Slava <Slava@slava-dfb8ff805.(none)>
Wed, 8 Apr 2009 23:12:27 +0000 (18:12 -0500)
committerU-SLAVA-DFB8FF805\Slava <Slava@slava-dfb8ff805.(none)>
Wed, 8 Apr 2009 23:12:27 +0000 (18:12 -0500)
basis/windows/uniscribe/uniscribe.factor

index 7cfda41dc92fbc2ea2494a98362835dfb6174bf3..f6cacfb683e39c06ebb96d57c650ee60cdbba01b 100755 (executable)
@@ -59,10 +59,10 @@ TUPLE: script-string font string metrics ssa size image disposed ;
         ssa>> ! ssa
         0 ! iX
         0 ! iY
-        0 ! uOptions
-        f ! prc
+        ETO_OPAQUE ! uOptions
     ]
-    [ selection-start/end ] bi
+    [ [ { 0 0 } ] dip size>> <RECT> ]
+    [ selection-start/end ] tri
     ! iMinSel
     ! iMaxSel
     FALSE ! fDisabled
@@ -108,7 +108,7 @@ M: script-string dispose*
 
 SYMBOL: cached-script-strings
 
-: cached-script-string ( string font -- script-string )
+: cached-script-string ( font string -- script-string )
     cached-script-strings get-global [ <script-string> ] 2cache ;
 
 [ <cache-assoc> cached-script-strings set-global ]