Bug 107484 - Non-english font names claim to be substituted in font name toolbar control
Summary: Non-english font names claim to be substituted in font name toolbar control
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 80812 (view as bug list)
Depends on:
Blocks: CJK Toolbars Font-Substitution
  Show dependency treegraph
 
Reported: 2017-04-27 14:05 UTC by Yousuf Philips (jay) (retired)
Modified: 2022-01-08 14:45 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2017-04-27 14:05:36 UTC
Steps:
1) Install MS Gothic and MS Mincho fonts if not already installed
2) Open attachment 132877 [details]
3) Notice that in the font name drop down, it shows the font names in italics (what happens when fonts are substituted)

The problem in the font name drop down is it is displaying the alternative name for the font rather than the english name.

Version: 5.4.0.0.alpha0+
Build ID: f0340e3dca1091accdb71e0c566b96cdf9e0f791
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-04-21_13:34:48
Locale: en-US (en_US.UTF-8); Calc: group

Screenshot - attachment 132879 [details]
Comment 1 Yousuf Philips (jay) (retired) 2017-04-27 14:09:29 UTC
Khaled's comment (bug 107462 comment 3): Marking the font as being substituted when localized name is used in a different locale is also an independent issue and should be reported separately.
Comment 2 Yousuf Philips (jay) (retired) 2017-10-22 18:31:33 UTC
*** Bug 80812 has been marked as a duplicate of this bug. ***
Comment 3 Yousuf Philips (jay) (retired) 2017-10-22 18:34:27 UTC
Same issue happens with duplicate bug (bug 80812) with attachment 102136 [details] with most cells show 微软雅黑 in italics in the font name combox though Microsoft YaHei is installed on the system.
Comment 4 QA Administrators 2018-10-23 02:50:35 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2020-10-23 04:14:58 UTC Comment hidden (obsolete)
Comment 6 Kevin Suo 2022-01-08 14:30:14 UTC
This is still the case, and also for Chinese fonts.

Steps to Reproduce:
1. Create a new ODT file in Simplified Chinese operating system language, where you have installed the font named "Source Han Sans CN".
2. Type some text, select the text, click the font dropdown, you find the localized font named "思源黑体 CN" (= "Source Han Sans CN")
3. Save and send the file to someone else who has the same font installed but may use an English language operating system. Now the font box shows italic, indicating that the font "思源黑体 CN" is missing. It is substituted to some other fonts, not the equivalent "Source Han Sans CN".

4. Create an ODT file in English system language, apply font "Source Han Sans CN".
Now if you open this file in Chinese system language, then the font box indicates that the font "Source Han Sans CN" is missing. It is substituted to some other font, not the equivalent (localized) "思源黑体 CN".