Bug 82445

Summary: Different font metric for same font size with mixed Chinese-and-English chars
Product: LibreOffice Reporter: Kevin Suo <suokunlong>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED MOVED    
Severity: normal CC: jbfaure
Priority: medium    
Version: 4.3.0.4 release   
Hardware: All   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: illustration screenshot
test odt file

Description Kevin Suo 2014-08-11 04:40:29 UTC
When a paragraph contains both Chinese and english chars with the same font size, Writer will show different metrics when rendering: Chinese chars are “wider” than English.

Steps to reproduce:
1. Type in some Chinese chars in Writer, followed by some English chars.
2. Apply the same font size for Western and Asia fonts for this paragraph.
3. Highlight this paragraph to observe the problem.

Current behaviour:
Chinese chars are wider (vertical direction) than English.

Expected behaviour:
Chinese chars and English have same vertical width.

See the attached screenshot for the illustration.
Comment 1 Kevin Suo 2014-08-11 04:56:17 UTC
Created attachment 104404 [details]
illustration screenshot
Comment 2 Kevin Suo 2014-08-11 04:56:35 UTC
Created attachment 104405 [details]
test odt file
Comment 3 Kevin Suo 2014-08-11 04:58:08 UTC
Windows 7 X86,
LibreOffice version 4.3.0.4.

P.S. This does not happen in MSO 2010.
Comment 4 Kevin Suo 2014-08-27 12:47:34 UTC
It's not language related, it's font related. If you use a CJK font (i.e., Microsoft Yahei), for the same font size the line height will show much bigger than western font.

I will close this bug and file another one.
Comment 5 Jean-Baptiste Faure 2014-12-06 12:38:51 UTC
(In reply to Kevin Suo from comment #4)
> [...]
> I will close this bug and file another one.

Please, could you give here the number of this new bug report?

Best regards. JBF