To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=59576





------- Additional comments from [EMAIL PROTECTED] Fri Jan 20 23:17:19 -0800 
2006 -------
On Windows, the situation is worse. The problem is that for any particular
cluster the Uniscribe ScriptShape function tells you which glyphs are part of
the cluster and which characters are part of the character, but it doesn't tell
you which glyph corresponds to which character.  Accordingly,
UniscribeLayout::GetNextGlyphs only generates a glyph to character mapping for
the first glyph in the cluster (the others are mapped to -1).

For very complex CTL scripts, the mapping between glyphs and characters in a
cluster is not very well-defined, but for Thai it's easy (with the exception of
SARA AM).  I think the following algorithm should work for Thai: map the first
glyph in the cluster to the first character in the cluster; then map the last
glyph in the cluster to last character in the cluster, the last but one glyph to
the last but one character and so on, stopping when you get to the first glyph
or first character in the cluster.


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to