http://bugs.winehq.org/show_bug.cgi?id=7150
--- Comment #17 from alsadi alsadi@ojuba.org 2009-10-26 16:15:46 ---
The main problem with this order of doing things is that shaping may change the
width of the character, which affects the line breaking algorithm.
yes but it's already broken!
Yes, I know, it's a drastic change to the algorithm.
if you like can I make a version to be called on un-ordered text, but you should grant me that your ordering function can handle shaped chars like U+FECC ARABIC LETTER AIN MEDIAL FORM
and I'll left calling the shaping function for you because you said:
level calculation and reordering are done in one step, and that therefor it is a little impossible to implement the steps as described,
so if this is fine with you, please tell me and I'll send you a version of BIDI_Shaper that takes unordered argument and do you want it to work in line (like current one or should it work on a new copy or should it take some buffer to work on ...etc) just tell me what do you want.
Which is why I said this does not mean it cannot go in, just that it will, eventually, have to be replaced.
so please rename BIDI_Shaper into BIDI_Post_Ordering_Shaper and push it. and we can add BIDI_Shaper which works before ordering later after you make a room for it to be called. what do you think ?