Description: Original question: https://ask.libreoffice.org/en/question/250095/weird-kerning-between-korean-characters-and-latinnumerals/ If I write a numeral or Latin characters right next to Korean characters with no space in between, a gap appears in between the two scripts, which is undesirable. In Korean typography, there should be no gap between Latin / Numerals and Korean characters, if there is no space in between. There is currently no workaround to remove or reduce this gap at all. Steps to Reproduce: 1.Open a new document 2.Copy & paste this text: "2020년" 3.Observe the undesired gap between 2020 and 년 Actual Results: Gap between 2020 and 년 Expected Results: 2020 and 년 should appear with no gap in the text "2020년". Reproducible: Always User Profile Reset: Yes Additional Info: Version: 6.0.7.3 Build ID: 1:6.0.7-0ubuntu0.18.04.10 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: en-US (en_US.UTF-8); Calc: CL
Created attachment 165384 [details] ODT file containing the problematic text.
This is a LibreOffice feature that's desired by many Chinese/Japanese users. Maybe in general Korean users don't like it, but it can be easily disabled. In the format dialog of either direct formatting (Format > Paragraph menu item) or style-based formatting (select the style used in the sidebar, right-click and choose Modify), there is a tab "Asian Typography", uncheck the option "Apply spacing between Asian and non-Asian text", and the gap you have seen will be gone.
I confirmed that works. Then, is it possible to disable this feature when the text language is set to Korean? This feature is very annoying to Korean users, and it is very hard to find the option to disable it.
I don't think there will be any Korean users who wants this feature anyway. Maybe another option would be to exclude Korean characters from the set of "Asian" characters to apply this feature on?
(In reply to Geon Park from comment #3) > Then, is it possible to disable this feature when > the text language is set to Korean? This feature is very annoying to Korean > users, and it is very hard to find the option to disable it. A valid request, change importance to enhancement and set to NEW. However I'm not a developer and can't do much more about this. I've pinged the Korean language related metabug and see if it can attract the attention of developers interested in Korean enviroment. I also agree the option is hard to find and probably should be better advertised (somewhere in Tools > Options > Language?).
Created attachment 165418 [details] example of "2020년"(Literally, AD. 2020) at HWP(한글) & MS Word on Windows Example of "2020년"(Literally, AD. 2020) at HWP(한글) & MS Word on Windows In Windows environments, Popular Korean word processor programs both HWP(한글) & MS Word on Windows, shows "2020년". 2020 and 년 should appear with no gap in the text "2020년".
In my opinion, LibreOffice developers & contributors should fix the issue. However, They don't know about Korean. so, I'll try to fix the issue. Because, Unlike Chinese & Japanese, Korean text layout's Characters(such as Hangul, Hanja, or Kana) have zero space between characters by default. expected result: 2020 and 년 should appear with no gap in the text "2020년". check the W3C's Requirements for Hangul Text Layout and Typography : 한국어 텍스트 레이아웃 및 타이포그래피를 위한 요구사항 https://w3c.github.io/klreq/ 3.3 Hangul and Latin Mixed Writing (Including Partial Horizontal Writing in Vertical Writing) 한글 및 로마자 섞어짜기(세로 짜기 중 일부 가로 짜기 옵션 포함) https://w3c.github.io/klreq/#hangulromanmix cf1. W3C's Requirements for Japanese Text Layout 日本語組版処理の要件(日本語版) https://w3c.github.io/jlreq/ cf2. W3C's Requirements for Chinese Text Layout 中文排版需求 https://w3c.github.io/clreq/
Not that I have any objections against having no such spacing for Korean environment, or think more justification is needed, but -- (In reply to DaeHyun Sung from comment #7) > Because, Unlike Chinese & Japanese, Korean text layout's Characters(such as > Hangul, Hanja, or Kana) have zero space between characters by default. Chinese and Japanese (AFAIK) have zero space between characters by default as well. There will be no such spacing in full Japanese (even mixed Kanjis and Kanas) or Chinese text. It only happens when you mix Latin characters (a, b, c, etc.) or Arabic numerals (1, 2, 3, etc.) with Chinese/Japanese text. The main reason that Chinese/Japanese users prefer such spacing, but Korean users don't, in my humble opinion, is that Korean text uses spaces to separate words in a sentence, but Chinese/Japanese text don't.
We apparently have code that disables this spacing if application language is Korean (which is wrong of course, such feature should not depend in application language), but can someone confirm if this is indeed the case?
(In reply to خالد حسني from comment #9) > We apparently have code that disables this spacing if application language > is Korean (which is wrong of course, such feature should not depend in > application language), but can someone confirm if this is indeed the case? DaeHyun Sung has confirmed the issue in bug 157280 with Korean UI: Version: 24.2.0.0.alpha0+ (AARCH64) / LibreOffice Community Build ID: 6d61e34e5623eab8f735344b0e659d834f6069e0 CPU threads: 10; OS: Mac OS X 13.5.2; UI render: Skia/Metal; VCL: osx Locale: ko-KR (ko_KR.UTF-8); UI: ko-KR So the answer seems to be "no, that code does not work" (at least for parentheses in Impress).
I have yet another proof to show that Korean text should not have a gap between Hangul syllable and others. https://www.bilibili.com/video/BV16x411F75S/ Anyway, as my suggestion, this should have an option in Options -> Languages and Locales -> Asian Layout, and this option should be unchecked for Korean.
(In reply to Volga from comment #11) > Anyway, as my suggestion, this should have an option in Options -> Languages > and Locales -> Asian Layout, and this option should be unchecked for Korean. I've seen that MS Word have such option.
I think this functionality should be instead disabled for Hangul characters
(In reply to Khaled Hosny from comment #9) > We apparently have code that disables this spacing if application language > is Korean (which is wrong of course, such feature should not depend in > application language), but can someone confirm if this is indeed the case? This is really indeed as what you can see from Korean TV programs. https://www.bilibili.com/video/BV16x411F75S/ https://www.bilibili.com/video/BV1rx411F7YH/
There are yet another strong proves that let you see: https://commons.wikimedia.org/wiki/File:%EA%B8%B0%EC%81%9C%EC%86%8C%EC%8B%9D_%EB%88%84%EA%B0%80%EB%B3%B5%EC%9D%8C.pdf https://commons.wikimedia.org/wiki/File:%EA%B2%80%EC%9D%80%EB%B3%84_1972.pdf https://commons.wikimedia.org/wiki/File:%EB%B0%95%EC%9A%A9%EC%B2%A0_%EC%9D%B8%ED%98%95%EC%9D%98_%EC%A7%91(1934).pdf https://commons.wikimedia.org/wiki/File:%EC%84%B8%EC%83%81%EC%9D%98%EB%B9%9B_%EB%A7%88%ED%83%9C%EC%9D%98_%EA%B8%B0%EB%A1%9D%ED%95%9C_%EB%B3%B5%EC%9D%8C.pdf https://commons.wikimedia.org/wiki/File:%EC%8B%A0%EA%B5%AD%EA%B8%B0%EC%9D%98_%EC%A0%9C%EC%A0%95%EA%B3%BC_%ED%83%9C%EA%B7%B9%EA%B8%B0%EC%9D%98_%ED%8F%90%EC%A7%80%EC%97%90_%EB%8C%80%ED%95%98%EC%97%AC.pdf https://commons.wikimedia.org/wiki/File:%EC%86%8C%ED%95%99%EC%83%9D%EB%AA%A8%EB%B2%94%EC%9E%91%EB%AC%B8%EC%A7%91_(1946%EB%85%84%ED%8C%90).pdf https://commons.wikimedia.org/wiki/File:%EC%A1%B0%EC%84%A0%EC%96%B4%ED%95%99%ED%9A%8C_%ED%95%9C%EA%B8%80_(1%EA%B6%8C_3%ED%98%B8).pdf By clicking "Original file" you'll review the contents immediately even if you can't read them, so you're sure that it's necessary to prohibit spacing for Hangul characters. If you want to see more information, go to https://commons.wikimedia.org/wiki/Category:PDF_books_in_Korean and https://commons.wikimedia.org/wiki/Category:DjVu_files_in_Korean
Jonathan Clark committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/ab246ddcd0b3cc34666e6bd66079ecc16056b58c tdf#136663 sw: Remove extra spacing between Hangul and non-CJK scripts It will be available in 26.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
(In reply to Volga from comment #13) > I think this functionality should be instead disabled for Hangul characters I agree. It's a late adjustment, but I'm also changing this from an enhancement request. In my opinion, this was a normal bug.
Jonathan Clark committed a patch related to this issue. It has been pushed to "libreoffice-25-8": https://git.libreoffice.org/core/commit/dd6c84ccf72e02f921664b9954425b19793bc245 tdf#136663 sw: Remove extra spacing between Hangul and non-CJK scripts It will be available in 25.8.3. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.