<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - [CJK Issue, Enhancement] Distinguishing both Korean and Japanese font from all CJK[Chinese-Japanese-Korean] fonts such as Noto CJK font series and Source Han Sans series, etc."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=134742">134742</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[CJK Issue, Enhancement] Distinguishing both Korean and Japanese font from all CJK[Chinese-Japanese-Korean] fonts such as Noto CJK font series and Source Han Sans series, etc.
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>sungdh86@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Description:
[CJK Issue, Enhancement] Distinguishing both Korean and Japanese font from all
CJK[Chinese-Japanese-Korean] fonts such as Noto CJK font series and Source Han
Sans series, etc.
Distinguishing both Korean and Japanese fonts from all
CJK[Chinese-Japanese-Korean] fonts such as Noto CJK font series and Source Han
Sans series, etc.
I'm TDF Korean Contributor and can speak Korean(My mother tongue), Japanese
(Little bit).
When I use Noto CJK Korean fonts such as, Noto Sans CJK KR & Noto Sans CJK KR
on LibreOffice, These fonts shows “简繁” at font selection on LibreOffice.
Also, It is same situation to use Noto CJK Japanese fonts such as Noto Sans CJK
JP & Noto Serif CJK JP on LibreOffice. These fonts shows “简繁” at font selection
on LibreOffice.
I checked these fonts issues using debugger, I found the
attemptToDisambiguateHan function bug.
below is the function link from LibreOffice core's master repository.
UScriptCode attemptToDisambiguateHan(UScriptCode eScript, OutputDevice const
&rDevice)
<a href="https://git.libreoffice.org/core/+/refs/heads/master/svtools/source/misc/sampletext.cxx#1231">https://git.libreoffice.org/core/+/refs/heads/master/svtools/source/misc/sampletext.cxx#1231</a>
I found that code’s problem.
In CJK(Chinese, Japanese, Korean) use Ideographs(briefly, Chinese Characters).
Noto Sans CJK, Noto Serif CJK and Source Han Sans and Source Han Serif fonts
support all Ideograph characters.
That code’s problem is don’t distinguish CJK fonts includes CJK Ideographs
ranges.
ps. Trivia, CJK cultural sphere, They use for Ideographs(briefly, Chinese
Characters, 漢字) writing systems.
漢字/汉字 Hànzì is for Chinese. 한자 Hanja is for Korean. かんじ Kanji is for Japanese.
Example1) Korean Hanja(Korean name for Chinese Character)
List of Hanja for Use in Personal Names (인명용 한자표/人名用漢字表) by the Supreme Court
of ROK (Republic of Korea).
(It includes 한문 교육용 기초 한자 (漢文敎育用基礎漢字/Hanmun Gyoyug-yong Gicho Hanja) by
Ministry of Education of ROK (Republic of Korea).
<a href="http://unicode.org/L2/L2020/20082-update-korean.pdf">http://unicode.org/L2/L2020/20082-update-korean.pdf</a>
Example2) Japanese Kanji(Japanese name for Chinese Character)
List of Jōyō Kanji (常用漢字表)
<a href="https://www.bunka.go.jp/kokugo_nihongo/sisaku/joho/joho/kijun/naikaku/pdf/joyokanjihyo_20101130.pdf">https://www.bunka.go.jp/kokugo_nihongo/sisaku/joho/joho/kijun/naikaku/pdf/joyokanjihyo_20101130.pdf</a>
So, I temporarily submitted to hard coded my source code for only Noto CJK
fonts. ( Such as Noto Sans {HK, JP, KR, SC, TC} fonts.)
However, I don’t resolve the Source Han fonts. (Because, Source Han font’s
Korean font shows Korean word ‘본고딕’[reads ‘bon go dik’ in Korean].)
As a result, That source code is only supported Noto CJK Fonts, such as Noto
Sans CJK, Not Serif CJK fonts.
Below is the my submitted and merged commit, "Hardcode script for "Noto" CJK
fonts & add USCRIPT_JAMO” Link
<a href="https://gerrit.libreoffice.org/c/core/+/97344">https://gerrit.libreoffice.org/c/core/+/97344</a>
I changed only the Noto CJK fonts. (It don’t support Source Han Sans & Source
Han Serif fonts. Both Noto CJK Fonts and Source Han Fonts
Before -> After
Noto Sans CJK HK 简繁 -> Noto Sans CJK HK 繁
Noto Sans CJK JP 简繁 -> Noto Sans CJK JP 日本語
Noto Sans CJK KR 简繁 -> Noto Sans CJK KR 한글
Noto Sans CJK SC 简繁 -> Noto Sans CJK SC 简
Noto Sans CJK TC 简繁 -> Noto Sans CJK TC 繁
Noto Sans Mono CJK HK 简繁 -> Noto Sans Mono CJK HK 繁
Noto Sans Mono CJK JP 简繁 -> Noto Sans Mono CJK JP 日本語
Noto Sans Mono CJK KR 简繁 -> Noto Sans Mono CJK KR 한글
Noto Sans Mono CJK SC 简繁 -> Noto Sans Mono CJK SC 简
Noto Sans Mono CJK TC 简繁 -> Noto Sans Mono CJK TC 繁
Noto Serif CJK JP 简繁 -> Noto Serif CJK JP 日本語
Noto Serif CJK KR 简繁 -> Noto Serif CJK KR 한글
Noto Serif CJK SC 简繁 -> Noto Serif CJK SC 简
Noto Serif CJK TC 简繁 -> Noto Serif CJK TC 繁
My goal is to properly show the CJK font expression on LibreOffice.
So, In my opinion, It seems necessary to discuss the display implementation of
the font selection box on LibreOffice with developers from CJK Users and
Developers such as, Korea, China, Taiwan, Hong Kong, Macau and Japan.
-------------
Related datas.
Below are Noto CJK fonts and Adobe's Source Han font series articles &
repositories.
Noto Sans CJK Font from Google blog.
(English) "Noto: A CJK Font That is Complete, Beautiful and Right for Your
Language and Region":
<a href="https://developers.googleblog.com/2014/07/noto-cjk-font-that-is-complete.html">https://developers.googleblog.com/2014/07/noto-cjk-font-that-is-complete.html</a>
(Korean, 한국어) "구글의 새로운 Pan-CJK (汎韓中日) 글꼴을 소개합니다":
<a href="https://developers-kr.googleblog.com/2014/07/cjkfont.html">https://developers-kr.googleblog.com/2014/07/cjkfont.html</a>
(Japanese, 日本語) "オープンソースの美しい Noto フォントファミリーに日本語、中国語、韓国語が加わりました。" :
<a href="https://developers-jp.googleblog.com/2014/07/noto.html">https://developers-jp.googleblog.com/2014/07/noto.html</a>
(Chinese, 中文) "Google中日韩字体Noto Sans CJK让你的阅读体验更佳" :
<a href="https://china.googleblog.com/2014/07/googlenoto-sans-cjk.html">https://china.googleblog.com/2014/07/googlenoto-sans-cjk.html</a>
Noto Serif CJK Font from Google blog.
(English) "Noto Serif CJK is here!" :
<a href="https://developers.googleblog.com/2017/04/noto-serif-cjk-is-here.html">https://developers.googleblog.com/2017/04/noto-serif-cjk-is-here.html</a>
(Korean, 한국어) "새로운 폰트, Noto Serif CJK를 지금 바로 확인해 보세요!":
<a href="https://developers-kr.googleblog.com/2017/04/noto-serif-cjk-is-here_4.html">https://developers-kr.googleblog.com/2017/04/noto-serif-cjk-is-here_4.html</a>
(Japanese, 日本語) "Noto Serif CJK が登場!":
<a href="https://developers-jp.googleblog.com/2017/04/noto-serif-cjk-is-here.html">https://developers-jp.googleblog.com/2017/04/noto-serif-cjk-is-here.html</a>
(Chinese, 中文) "Noto Serif CJK 来了!" :
<a href="https://china.googleblog.com/2017/04/noto-serif-cjk.html">https://china.googleblog.com/2017/04/noto-serif-cjk.html</a>
Noto CJK font repository: <a href="https://github.com/googlefonts/noto-cjk">https://github.com/googlefonts/noto-cjk</a>
Below is introducing Adobe's new Source Han Sans font
<a href="https://blog.typekit.com/2014/07/15/introducing-source-han-sans/">https://blog.typekit.com/2014/07/15/introducing-source-han-sans/</a>
Below is Adobe's new Source Han Serif font series link:
<a href="https://source.typekit.com/source-han-serif/">https://source.typekit.com/source-han-serif/</a>
Source Han Serif supports four different East Asian languages — Simplified
Chinese, Traditional Chinese, Japanese, and Korean — and the 65,535 glyphs in
each of its seven weights are designed to work together with a consistent
design that emphasizes shared elements between the languages while honoring the
diversity of each. Also included is a rich set of Western glyphs supporting the
Latin, Greek, and Cyrillic scripts, which were derived from Source Serif.
Steps to Reproduce:
1.Select CJK fonts (includes All CJK Ideographs fonts such as Noto CJK & Source
Han fonts on LibreOffice Suite
2. shows font selections language text.
Actual Results:
Noto Sans CJK HK 简繁
Noto Sans CJK JP 简繁
Noto Sans CJK KR 简繁
Noto Sans CJK SC 简繁
Noto Sans CJK TC 简繁
Noto Sans Mono CJK HK 简繁
Noto Sans Mono CJK JP 简繁
Noto Sans Mono CJK KR 简繁
Noto Sans Mono CJK SC 简繁
Noto Sans Mono CJK TC 简繁
Noto Serif CJK JP 简繁
Noto Serif CJK KR 简繁
Noto Serif CJK SC 简繁
Noto Serif CJK TC 简繁
Kaiti SC 简
Kaiti TC 简
Songti SC 简
Songti TC 简
Source Han Sans HC 简繁
Source Han Sans HW HC 简繁
Source Han Sans HW SC 简繁
Source Han Sans HW TC 简繁
Source Han Sans SC 简繁
Source Han Sans TC 简繁
본고딕
본고딕 HW
Expected Results:
Noto Sans CJK HK 繁
Noto Sans CJK JP 日本語
Noto Sans CJK KR 한글
Noto Sans CJK SC 简
Noto Sans CJK TC 繁
Noto Sans Mono CJK HK 繁
Noto Sans Mono CJK JP 日本語
Noto Sans Mono CJK KR 한글
Noto Sans Mono CJK SC 简
Noto Sans Mono CJK TC 繁
Noto Serif CJK JP 日本語
Noto Serif CJK KR 한글
Noto Serif CJK SC 简
Noto Serif CJK TC 繁
Kaiti SC 简
Kaiti TC 繁
Songti SC 简
Songti TC 繁
Source Han Sans HC 繁
Source Han Sans HW HC 繁
Source Han Sans HW SC 简
Source Han Sans HW TC 繁
Source Han Sans SC 简
Source Han Sans TC 繁
본고딕 한글
본고딕 HW 한글
Reproducible: Always
User Profile Reset: No
Additional Info:
UNICODE HAN DATABASE (UNIHAN)
<a href="https://www.unicode.org/reports/tr38/">https://www.unicode.org/reports/tr38/</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>