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





------- Additional comments from [EMAIL PROTECTED] Sun Jan  6 08:31:27 +0000 
2008 -------
more insights:

- The vista issue (to be more specific, my findings relate to usp10.dll ver
1.626.6000.16386).

ScriptTextOut actually performs the right-justification of glyphs when the fRTL
member of SCRIPT_ANALYSIS parameter is set. So if you perform the manual
justification, you should reset fRTL to zero before calling ScriptTextOut. If
you want to rely on right-justification of ScriptTextOut, you should query the
usp version and verify that the functionality is available.

- The PDF and non-printing-characters issue relate to the same cause. The Hebrew
text is itemized into single words and spaces. To make the right-justification
meaningful, you need to perform the justification across items. (see attached
patch) The patch corrects the character output in most cases, but when different
fonts or font styles are mixed in the text line, you still have some
misalignments. Especially expanding inter-character spacing breaks things apart.

Compared to this manual justification, the justification of ScriptTextOut is
more reliable, so maybe it should be used where available. 

- Another thing I noticed, maybe it is not relevant to OOo: When I pass a Hebrew
text (characters and blanks) to ScriptShape, the Vista usp returns
uJustification==SCRIPT_JUSTIFY_CHARACTER for all glyphs, even for the blanks.
(except if I used the Arial Unicode MS font) This does not happen on older usps.
This affects the output of ScriptJustify, I don't know if it is used by OOo at 
all.













---------------------------------------------------------------------
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