Issue 59408 - 15pt default font size causes row-height problems with Thai locale
Summary: 15pt default font size causes row-height problems with Thai locale
Alias: None
Product: Calc
Classification: Application
Component: code (show other issues)
Version: OOo 2.0.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: frank
QA Contact: issues@sc
Depends on:
Blocks: 41707 60011
  Show dependency tree
Reported: 2005-12-15 17:17 UTC by jjc
Modified: 2013-08-07 15:13 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

Patch to get rid of 15pt font size for Thai in Calc (585 bytes, patch)
2005-12-26 06:11 UTC, jjc
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description jjc 2005-12-15 17:17:16 UTC
The change in 2.0.1 to a Angsana 15pt as the default font (see issue 56145) is
revealing some strange behavior with row-heights.

To reproduce

- set your locale to Thai
- create a new spreadsheet document
- observe the font is Angsana 15
- observe that the height of rows is 10 points
- now save the empty document
- close the document
- open the just saved document
- observe that the height of all rows is now 15 points

Another problem:

- set locale to Thai
- create a new spreadsheet document
- enter English characters into a cell
- observe that the row height of the row containing the cell changes to 15 points

It is common for spreadsheets in the Thai locale not to have any Thai language
data; such spreadsheets clearly need to have a cell-height of 10points.  Only
the height of rows containing Thai characters should have an increased row-height.

Excel doesn't actually allow you to specify the CTL font as far as I can see. 
It seems to be using Tahoma (which is the one Thai font that is designed to be
used at 10 points).

Overall I think it might be best to workaround these problems in the 2.0.2
timeframe by changing the spec in issue 42725 to change the default font for
Calc back to Tahoma 10 points (this giving it a different default font from the
other OOo apps).
Comment 1 frank 2005-12-15 22:59:44 UTC
Hi Eike,

one for you ?

Comment 2 ooo 2005-12-16 12:21:24 UTC
@fst: why should this be my task?

Niklas, could be your building site.
Comment 3 jjc 2005-12-26 06:11:39 UTC
Created attachment 32697 [details]
Patch to get rid of 15pt font size for Thai in Calc
Comment 4 jjc 2005-12-26 06:13:19 UTC
As well as the above patch, the font name must be changed back to Tahoma (Tahoma
is designed to work at 10pts, unlike Angsana). There's a patch to VCL.xcu for
this in issue 59427.
Comment 5 niklas.nebel 2006-01-23 12:58:49 UTC
The font size change (as in the patch) is on the CWS "dr44", stlpool.cxx The spec
has been updated, too. The default font size is now the same for all languages
Comment 6 niklas.nebel 2006-01-24 17:50:08 UTC
back to QA for verification

re-open issue and reassign to
Comment 7 niklas.nebel 2006-01-24 17:50:17 UTC
reassign to
Comment 8 niklas.nebel 2006-01-24 17:50:26 UTC
reset resolution to FIXED
Comment 9 oc 2006-01-30 10:23:07 UTC
verified in internal build cws_dr44
Comment 10 frank 2006-02-14 13:57:29 UTC
found fixed on master build 9006