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] Sat Jan 12 15:19:00 +0000 2008 ------- @hdu: After applying your patch, everything seems to be working fine with the Hebrew output, except for the PDF, as stated before. What solution do you have in mind for that? I also tried to have a look at Arabic justification. (Emphasis is on "tried", as unfortunately I cannot be sure on my findings, as I don't read the language). But nevertheless, I encountered some phenomena, which were mentioned in some issues on Arabic text justification. 1. Words seem to break apart. Cause: a glyph cell gets expanded by value less than the iKashidaWidth value returned by ScriptGetFontProperties. You should call ScriptGetFontProperties in ApplyDxArray and correct mpJustification Values if necessary. 2. Kashidas are appended to words, instead of connecting letters within the words. Cause: The OOo Kashida algorithm decides to expand characters, which receive a SCRIPT_JUSTIFY_NONE uJustification Value by ScriptShape. I attached a patch, where I replaced the SCRIPT_JUSTIFY_NONE, with SCRIPT_JUSTIFY_KASHIDA. This fixes the problem. But maybe important to note: OOo puts Kashidas at different places than USP. I don't know how serious that is regarding Arabic typography, but maybe you should check into that, too. There was this previous hack replacing uJustification values with SCRIPT_JUSTIFY_KASHIDA. Never understood that really, but if it was aimed at this problem, it should concentrate (or at least include) SCRIPT_JUSTIFY_NONE. --------------------------------------------------------------------- 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]