https://bugs.documentfoundation.org/show_bug.cgi?id=172818
Bug ID: 172818
Summary: LibreOffice picks up less suitable name from
fontconfig
Product: LibreOffice
Version: 26.2.4.2 release
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Description:
Recently I have been seeing garbled Japanese font names in the font list in
LibreOffice. Upon looking into it, I could trace back part of the issue to
iconv being updated, but fontconfig not being updated yet.
The reason why I am submitting this bug is because that on top of the issue
mentionned above, LibreOffice seems to ignore fontconfig's suitable list of
names and picks up Mac names whenever they are present. Even with the
fontconfig/iconv issue, the most suitable name was not garbled.
Below is what fontconfig gave me for the TakaoP fonts:
/usr/share/fonts/truetype/fonts-japanese-gothic.ttf: Takao
Pゴシック,TakaoPGothic,呡歡潐䝯瑨楣:style=Regular
/usr/share/fonts/truetype/fonts-japanese-mincho.ttf: Takao
P明朝,TakaoPMincho,呡歡潐䵩湣桯:style=Regular
The first names are Windows Japanese, the second English (same name for Windos
and Macintosh name tables), the third being "TakaoPMincho" from the Macintosh
Japanese name table, encoded in Shift-JIS (or ISO-8859-1, since Shift-JIS
encompasses it) but being processed as UTF-16BE (then issue with iconv and
fontconfig).
LibreOffice picked up the third names.
Is there a reason for LO to prefer Mac names?
Steps to Reproduce:
1. Open LibreOffice
2. Look at font list
Actual Results:
Mac names are preferred over what the OS recommends.
Expected Results:
LO should follow the OS recommendations as for font names.
Reproducible: Always
User Profile Reset: Yes
Additional Info:
With the fontconfig/iconv issue, 67 Japanese fonts are affected, from as much
as 18 makers, free and non free fonts. Hybrid fonts are very common in Japan.
--
You are receiving this mail because:
You are the assignee for the bug.