To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=78983
------- Additional comments from [EMAIL PROTECTED] Mon Jul 23 11:20:36 +0000 2007 ------- It seems this problem is more difficult than my first thought. There seems some more related problems. And I noticed my screenshot (arabic.png) was not the result of the "ui locale" patch but actually its from my glyph fallback patch in issue #79676. Sorry for the confusion. Here is the summary at the moment. 1. GetThemeFont() with smSystemScript might not return appropriate font when Mac OS X's system language preference doesn't match a language of OOo. 1'. To solve this, I propose using a mapping table between OOo's UI language and script language of ATS. 2. However, GetThemeFont() with smSystemScript and/or with kFontArabicScript never returns Arabic font name. It always returns "Lucida Grande", which don't contain Arabic glyphs. So 1' doesn't work for all languages. 2'. It may be solved with wrapping GetThemeFont() and return appropriate system font like "Geeza Pro" for Arabic script. 3. But for Arabic case, since "UI_SANS" for "ar" locale seems to be assigned as "Tahoma; Traditional Arabic;..." in VCL.xcu, "Geeze Pro" won't be used even patch 2' is applied. In this case, Tahoma is used and it shows squares because it doesn't contain Arabic glyphs. 3'. Adding "Geeze Pro" before Tahoma in VCL.xcu will force to use the Arabic fonts. However, since it doesn't contain Latin glyphs, some UI strings written in English becomes squares... So it requires a glyph fallback as in issue #79676. So we need, 1) improve Aqua specific default UI font selection mechanism for every locales 2) implement proper glyph fallback mechanism (issue #79676) @ hdu: Could I ask one question? Related problem 3. I couldn't understand why "Tahoma" is used even I modified the code around GetThemeFonts() force to use "Geeza Pro" for Arabic script? On Japansese OOo package, the font selected by GetThemeFonts() is always used instead of fonts listed in VCL.xcu. Which code should I look into knowing about VCL.xcu font replacement? --------------------------------------------------------------------- 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]
