Platform SDK: International Features |
Both ScriptCPtoX and ScriptXtoCP functions work only within runs and require the results of a previous ScriptShape call.
The client must establish which run a given caret offset or x position is within before passing it to ScriptCPtoX or ScriptXtoCP.
Cluster information in the logical cluster array is used to share the width of a cluster of glyphs equally among the logical characters they represent.
For example, the lam alef glyph is divided into four areas:
The ScriptXtoCP function has knowledge of the caret position conventions of each script: