Issue 59426

Summary: Incorrect default font size for Thai in Impress
Product: Impress Reporter: jjc
Component: codeAssignee: wolframgarten
Status: CLOSED FIXED QA Contact: issues@graphics <issues>
Severity: Trivial    
Priority: P3 CC: issues, markpeak, samphan
Version: OOo 2.0.1   
Target Milestone: OOo 2.0.3   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 41707    

Description jjc 2005-12-16 05:16:28 UTC
The default font for Thai in Impress has been changed to Angsana New per the
spec in issue 42725. However the spec also requires that the default font size
be changed, and this has not been done.  This creates a problem because Angsana
New and other traditional Thai fonts are designed to work at a different point
size from Western fonts, eg Angsana New at 16pt would look right with Times
Roman at 12pt.
Comment 1 wolframgarten 2006-01-04 10:12:23 UTC
Reassigned. 
Hello hdu: is this true? 
Comment 2 Martin Hollmichel 2006-01-17 15:48:00 UTC
set target to 2.0.3
Comment 3 hdu@apache.org 2006-02-02 12:39:36 UTC
HDU->CL: Like OS did for Writer in issue 42725 Impress needs to be adjusted to
the spec.
Comment 4 clippka 2006-02-16 13:14:53 UTC
I can't reproduce this issue. I didn't change the default size because all ctl
font sizes in impress are already 18pts, so there should be no problem.

james_clark, where do you see an agsana new font in impress under the ctl
settings with a default font size less than 16?
Comment 5 clippka 2006-02-16 13:15:29 UTC
changed resolution to 'works for me'
Comment 6 jjc 2006-02-16 17:45:23 UTC
If I create a new presentation, then type in a slide title, then English text
will be in Arial at 44 points and Thai text will be in Angsana New also at 44
points.   This makes the Thai text far too small. Similarly top-level bullet
points come out at 32 points in both English and Thai. The font size of the Thai
text should be about 1.333 times the font size of the English text.
Comment 7 jjc 2006-02-16 17:46:29 UTC
.
Comment 8 clippka 2006-02-20 11:15:49 UTC
ok, I see the problem now, but I'm only a developer so I don't like to 'just do
some 1.333 magic on numbers'.

@cl->fl: Can you please have a look at our current styles and defaults and tell
me what to change. Maybe we should update the spec from issue 42725 to cover
impress defaults and styles. We should also think about cloning this issue as we
will have wrong defaults in our thai templates for StarOffice even after the fix
for new documents.
Comment 9 frank.loehmann 2006-03-31 11:29:22 UTC
Started.
Comment 10 frank.loehmann 2006-03-31 13:11:42 UTC
Please find the updated spec. here: 
http://specs.openoffice.org/g11n/font_sizes/42775_42725_Individual_configurable_font_size_for_default_fonts.odt
in section "Draw and Impress specific issues (issue 59426)"
Comment 11 clippka 2006-04-03 12:40:25 UTC
fixed in cws impress91,

added

sal_uInt32 SdDrawDocument::convertFontHeightToCTL( sal_uInt32 nWesternFontHeight )

to convert a western font height to a corresponding ctl font height depending on
the locale setting.

CL->WG: To test you have to change the Locale Settings of the Language Options
Page to Thai before you create a new impress or draw
Comment 12 clippka 2006-04-13 09:15:55 UTC
verified in cws, back to qa

re-open issue and reassign to wg@openoffice.org
Comment 13 clippka 2006-04-13 09:16:03 UTC
reassign to wg@openoffice.org
Comment 14 clippka 2006-04-13 09:16:08 UTC
reset resolution to FIXED
Comment 15 wolframgarten 2006-04-26 11:12:53 UTC
Verified in CWS.
Comment 16 wolframgarten 2006-05-17 13:29:48 UTC
Tested in m169. Closed.