[PATCH] usp10: rewrite ScriptXtoCP

Aric Stewart aric at codeweavers.com
Mon Jan 4 07:52:59 CST 2016


Make the process and algorithm more understandable
Properly handle multi-glyph and multi-character clusters both RTL and LTR
Properly handle scripts that set fNeedsCaretInfo (RTL and LTR)

Signed-off-by: Aric Stewart <aric at codeweavers.com>
---
 dlls/usp10/tests/usp10.c | 107 ++++++++++++++++++-
 dlls/usp10/usp10.c       | 268 ++++++++++++++++++++++++++++++++---------------
 2 files changed, 287 insertions(+), 88 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-usp10-rewrite-ScriptXtoCP.txt
Type: text/x-patch
Size: 18436 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20160104/938f7bc4/attachment-0001.bin>


More information about the wine-patches mailing list