https://bugs.winehq.org/show_bug.cgi?id=45793
Bug ID: 45793 Summary: GetCharacterPlacement produces incorrect lpOrder values with GCP_REORDER Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: gdi32 Assignee: wine-bugs@winehq.org Reporter: peterooch@outlook.com Distribution: ---
Created attachment 62252 --> https://bugs.winehq.org/attachment.cgi?id=62252 Side by side comparison of the test, left:ReactOS right:windows
When using GetCharacterPlacement with the example string "אבגדהABCDוזחטי" and using the results from the GCP_RESULTS struct, the lpOrder values are incorrect for the last 5 characters.
Found out while checking in ReactOS, which uses BIDI_Reorder for bidi.c from wine gdi32, checked also in fedora 28 to double check if the error persists and it persists.
The test code in question https://github.com/peterooch/reactos/blob/67ee00fecb0f5e93fc5e55904af6eef626...