To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=25247
------- Additional comments from [EMAIL PROTECTED] Wed Sep 13 04:42:06 -0700 2006 ------- The problem happens when in Word the CTL font is not changed from the default in the base style. When Word sees this, it acts as if no CTL font at all was set in the base style, and instead relies on the fourth font in the document's font table (in this case Miriam) as a default CTL font for Hebrew. Word does not write a 0x4a5e parameter for the base style in this case. (It *does* write one if the font is changed to anything else.) Since the document contains no CTL font setting for the base style, this misleads OOo. When OOo imports the document, it does not see a font set for the base style, so it uses its own default CTL font, which may or may not be Miriam. The attached patch checks if the default CTL font was not set, and if so, sets the default CTL font to be the fourth entry in the document's font table. I am also attaching documents used for testing this bug. i25247_aliza_test.doc is a shortened form of the original document submitted by the reporter, sforbes. i25247_aliza_test_david.doc has the CTL font in the base style changed to David. If you hex dump this file, you'll notice that there is an extra x4a5E parameter. i25247_aliza_test_poked.doc has the name “Miriam” in the font table modified by a hex editor to be named “Niriam”. In this case, Word uses a fallback font, “Arial”. Caolan McNamara provided an enormous amount of help with this. For more details, see the discussion between Caolan and myself at : http://sw.openoffice.org/servlets/BrowseList?list=dev&by=thread&from=1496917 --------------------------------------------------------------------- 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]
