Bug 146932 - CJK font-size in Writer default paragraph style is not the same as Western font
Summary: CJK font-size in Writer default paragraph style is not the same as Western font
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.1.0.3 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bisected
Depends on: 36709
Blocks: CJK
  Show dependency treegraph
 
Reported: 2022-01-23 10:11 UTC by Kevin Suo
Modified: 2023-08-17 13:42 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Suo 2022-01-23 10:11:59 UTC
Steps to Reproduce:
1. New Writer, enable CJK and Complex in "Tools > Options > Language Settings > Language".
2. Right-click on the default paragraph style, then go to the Font tab.

Current Result:
Font size for Western is 12pt, while it is 10.5pt for CJK.
See screenshot at attachment 177717 [details].

Expected:
The default font size for CJK and Western should be the same. I am fine with no matter whether it should be 10.5pt or 12pt, but they simply should be the same.

This bug behaviour was already there at least since 6.1 "oldest", and still exists on the current master.

Fedora 34, Gnome.
Comment 1 Kevin Suo 2022-01-23 10:13:24 UTC
We had the similar problem in Calc, but that was resoled, see bug 138475.
Comment 2 Kevin Suo 2022-01-23 13:38:05 UTC
Seems that the change of font size for CJK to 10.5pt (while leaving Western at 12pt) was done by commit 7343e687fc9a180d453bf0112318c563801f303d.
Comment 3 Kevin Suo 2022-01-23 14:18:07 UTC
This is tricky. Although I can try to revert the changes in commit 7343e687fc9a180d453bf0112318c563801f303d, 

however reverting that commit will trigger bug 36709, i.e. if the CJK font size is 12pt (i.e. the same as Western), then if one sets the first line indent to 2 ch (2 characters, 2 字符), then the actual first line indent value is not correctly 2 characters. The current 2 characters seems to be calculated according to the 10.5pt font size.

As a result, the fix for this bug depends on the fix for bug 36709.
Comment 4 JO3EMC 2022-02-07 13:26:23 UTC
I don't understand Comment 3 so far, but I'm sharing the awareness of the original topic.
We only have to set it once in "Options", but it is not desirable as the default value.

In this case, we need to be aware of not only "Default" but also "Heading", "List", "Caption", "Index" set in "Tools> Options> Writer> Basic Fonts (Western / Asian / CTL)", I think.
Currently, "List", "Caption", and "Index" are set to 12pt even in "Asian". So, the characters will be larger than "Default Paragraph Style" and "Text Body" when we use each paragraph style.
There is an idea that it is okay because they are styles those makes texts stand out. But that idea is different from the standard settings of Western and CTL.

10.5pt (or 10.6pt) is the font size traditionally used as a standard in Japan too. However, in recent years, the commonly used paper size has been replaced from B5 (JIS) to A4, and I think that the number of people who are particular in 10.5pt is decreasing. As mentioned in Comment 8 of Bug 115970, we are increasingly using 11pt and 12pt.

From such a situation, I think it would be better to unify to 12pt for the time being.
(This is my personal opinion, and I'm not sure what other Japanese think.)
Comment 5 Dieter 2023-02-06 18:39:30 UTC
(In reply to Kevin Suo from comment #3)
> This is tricky. Although I can try to revert the changes in commit
> 7343e687fc9a180d453bf0112318c563801f303d, 
> 
> however reverting that commit will trigger bug 36709, i.e. if the CJK font
> size is 12pt (i.e. the same as Western), then if one sets the first line
> indent to 2 ch (2 characters, 2 字符), then the actual first line indent value
> is not correctly 2 characters. The current 2 characters seems to be
> calculated according to the 10.5pt font size.
> 
> As a result, the fix for this bug depends on the fix for bug 36709.

Kevin, who can or should decide that problem? Is it up to japanese community, or design-team, or ...?
Comment 6 Volga 2023-07-05 06:16:30 UTC
I think this should be related to bug 115970.
Comment 7 Volga 2023-08-17 10:31:48 UTC
Seen from bug 155947, I saw developer paved the way for fix, you can fix this bug based on his patch.