[Bug 5772] Unimplemented function usp10.dll.ScriptLayout

Wine Bugs wine-bugs at winehq.org
Mon Jul 31 08:39:29 CDT 2006


http://bugs.winehq.org/show_bug.cgi?id=5772


svzj at centrum.cz changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #3113 is|0                           |1
           obsolete|                            |




------- Additional Comments From svzj at centrum.cz  2006-31-07 08:39 -------
Created an attachment (id=3115)
 --> (http://bugs.winehq.org/attachment.cgi?id=3115&action=view)
Third time lucky

While reading the msdn description, I decided to use my precious brain and came
up with following conclusions: The function ScriptLayout decides whether the
text is rtl or ltr and somehow copies the raw text input to one of the output
arrays (the last two arguments). This description might be actually wrong in
every point, but the important thing is, that simple passing the contents of
the input (the second argument) to one of the output arrays (whichever is not
NULL as suggested on msdn) does the trick - not only SWiSHmax won't crash when
I try to add some text, it actually DOES add some text.

Altough the patch probably isn't top quality stuff, I'm actually pretty happy
with my first successful wine hack :-)

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list