To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=42725 Issue #:|42725 Summary:|Font size for default fonts needs to be configurable |for each font Component:|l10n Version:|680m74 Platform:|All URL:| OS/Version:|All Status:|UNCONFIRMED Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|code Assigned to:|ft Reported by:|samphan
------- Additional comments from [EMAIL PROTECTED] Mon Feb 14 04:44:00 -0800 2005 ------- OOo hard-codes a default font size of 10 points or 12 points in a number of places (see the attached patch). For most Thai fonts, 10 points or 12 points is unreadably small. Thai characters have four vertical levels (base, one diacritic below and two diacritics above). When Thai characters are mixed with Latin characters, the relative sizes of Thai and Latin characters are usually chosen so that the bottom of below diacritics is lower than the bottom of Latin descenders, and the top of the second level Thai diacritics is higher than the top of Latin ascenders. The (not unreasonable) normal convention for Thai fonts is that in an N point font the distance from the bottom of the below-diacritic to the top of the second above-diacritic is N points. Thai typesetting would typically use a 16 point default font size. Thai fonts typically contain Latin characters as well: the Latin characters in a 16 point Thai font would be about the same size as the characters in a normal 12-point Western font. Some newer fonts don't follow this convention. Instead, the size of a font is based on the size of the Latin characters. In this case, the default font size could be 12 points. For example, on Windows, WordPad defaults to Arial 10pt in a Western locale (e.g. Control Panel|Regional and Language Options|Regional Options set to English US), but Cordia 14pt in a Thai locale. In a Western locale, if I change the keyboard layout to Thai, the font changes to Cordia 14pt OfficeTLE (a Thai localized OOo) solution to this is just to hard-code 16 points instead of 12 points as the default font size. See the attached patch (for OOo 1.1.3). I'm not exactly sure what the right solution is. I think part of it is probably to allow officecfg/registry/data/org/openoffice/VCL.xcu to optionally specify a font size for each default font, e.g. <value>Norasi:16;Bistream Vera Sans:12;Tahoma:12</value> --------------------------------------------------------------------- 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]
