Hi,
I have read the reference code for BIDI algorithm implement in
http://www.unicode.org/Public/PROGRAMS/BidiReferenceCpp/
I'm confused about some codes in Bidi.cpp.
Before determining embedding levels for characters, assign directional types
like this
// assign directional types
classify(pszInput, types, cch);
And after determining embedding levels, assign directional types again ,but
for WS,S
// assign directional types again, but for WS, S this time
classify(pszInput, types, cch, true);
Why not assign directional types for WS and S in the first time?
Thanks
alex
Received on Sun Oct 09 2011 - 05:28:27 CDT
This archive was generated by hypermail 2.2.0 : Sun Oct 09 2011 - 05:28:30 CDT