Bug 127010 - Noto Sans font's Some Old Hangul syllables have abnormal shown in exported PDFs
Summary: Noto Sans font's Some Old Hangul syllables have abnormal shown in exported PDFs
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.4.0
Keywords:
Depends on:
Blocks: PDF-Export CJK-Korean
  Show dependency treegraph
 
Reported: 2019-08-18 14:43 UTC by DaeHyun Sung
Modified: 2022-10-29 22:50 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Exported LibreOffice Writer's Korean Old Hangul PDF (13.55 KB, application/pdf)
2019-08-18 14:43 UTC, DaeHyun Sung
Details
Original LibreOffice Writer's Korean Old Hangul file (9.62 KB, application/vnd.oasis.opendocument.text)
2019-08-18 14:48 UTC, DaeHyun Sung
Details
Original LibreOffice Writer's Korean Old Hangul file screenshot (248.41 KB, image/png)
2019-08-18 14:48 UTC, DaeHyun Sung
Details
Exported LibreOffice Writer's Korean Old Hangul PDF screenshot (169.95 KB, image/png)
2019-08-18 14:49 UTC, DaeHyun Sung
Details
Original LibreOffice Presentation Korean Old Hangul test file (15.92 KB, application/vnd.oasis.opendocument.presentation)
2019-08-18 14:49 UTC, DaeHyun Sung
Details
Original LibreOffice Presentation Korean Old Hangul test screenshhot (369.92 KB, image/png)
2019-08-18 14:51 UTC, DaeHyun Sung
Details
Exported LibreOffice Presentation Korean Old Hangul test PDF (29.56 KB, application/pdf)
2019-08-18 14:52 UTC, DaeHyun Sung
Details
Exported LibreOffice Presentation Korean Old Hangul test PDF screenshot (242.76 KB, image/png)
2019-08-18 14:52 UTC, DaeHyun Sung
Details
Original Old Hangul List, set Noto Sans CJK KR, LibreOffice Writer file (16.99 KB, application/vnd.oasis.opendocument.text)
2019-08-18 15:37 UTC, DaeHyun Sung
Details
Exported Old Hangul List, set Noto Sans CJK KR, pdf file (246.94 KB, application/pdf)
2019-08-18 15:38 UTC, DaeHyun Sung
Details
Original Old Hangul List, set Noto Serif CJK KR, LibreOffice Writer file (16.82 KB, application/vnd.oasis.opendocument.text)
2019-08-18 15:38 UTC, DaeHyun Sung
Details
Exported Old Hangul List, set Noto Serif CJK KR, pdf file (455.71 KB, application/pdf)
2019-08-18 15:41 UTC, DaeHyun Sung
Details
ᄆᆞᆷ국, example of Korean classical hangul notaiton on LibreOffice impress (270.48 KB, image/png)
2020-10-06 20:06 UTC, DaeHyun Sung
Details
ᄆᆞᆷ국, example of Korean classical hangul notaiton, after PDF conversion (224.45 KB, image/png)
2020-10-06 20:07 UTC, DaeHyun Sung
Details
Original LibreOffice Writer's Korean Old Hangul file screenshot (LO 4.0) (69.11 KB, image/png)
2020-10-16 13:07 UTC, Aron Budea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DaeHyun Sung 2019-08-18 14:43:10 UTC
Created attachment 153474 [details]
Exported LibreOffice Writer's Korean Old Hangul PDF

In Writer and Presentation

Noto Sans font's Some Old Hangul syllables have abnormal shown in exported PDFs

Example)
옛 한글 테스트(Old Hangul Syllable Text Test)
ᄀᆞᆯ 가람 강(江)
ᄃᆞᆯ달
제주어(濟州語, Jeju-eo Test) 
ᄒᆞᆫ저 옵서예 - 안녕하세요 
ᄆᆞᆷ국- 몸국 
月ᅌᅯᇙ印ᅙᅵᆫ千쳔江가ᇰ - (Middle Korean text)

only, ᄆᆞᆷ국 is likely shown  ᄆᆞㅁ 국 - 몸국 in exported PDF.

I think Some Old Korean Hangul Syllable in exported PDF is abnormally shown. 

Steps to reproduce:
 1. Open a Writer or Impress file
 2. Set the font to Noto Sans CJK KR Regular
 3. Write some Old Hangul Syllables.
 4. Export to PDF


Below is Old Hangul Syllable table link.
If you check the old Hangul Syllables, should check the link.
https://charset.fandom.com/ko/wiki/%EC%98%9B%ED%95%9C%EA%B8%80_%EC%A0%95%EB%B3%B4_%EB%8D%B0%EC%9D%B4%ED%84%B0%EB%B2%A0%EC%9D%B4%EC%8A%A4
Comment 1 DaeHyun Sung 2019-08-18 14:48:03 UTC
Created attachment 153475 [details]
Original LibreOffice Writer's Korean Old Hangul file
Comment 2 DaeHyun Sung 2019-08-18 14:48:44 UTC
Created attachment 153476 [details]
Original LibreOffice Writer's Korean Old Hangul file screenshot
Comment 3 DaeHyun Sung 2019-08-18 14:49:13 UTC
Created attachment 153477 [details]
Exported LibreOffice Writer's Korean Old Hangul PDF screenshot
Comment 4 DaeHyun Sung 2019-08-18 14:49:48 UTC
Created attachment 153478 [details]
Original LibreOffice Presentation Korean Old Hangul test file
Comment 5 DaeHyun Sung 2019-08-18 14:51:07 UTC
Created attachment 153479 [details]
Original LibreOffice Presentation Korean Old Hangul test screenshhot
Comment 6 DaeHyun Sung 2019-08-18 14:52:27 UTC
Created attachment 153480 [details]
Exported LibreOffice Presentation Korean Old Hangul test PDF

Exported LibreOffice Presentation Korean Old Hangul test PDF
Comment 7 DaeHyun Sung 2019-08-18 14:52:55 UTC
Created attachment 153481 [details]
Exported LibreOffice Presentation Korean Old Hangul test PDF screenshot

Exported LibreOffice Presentation Korean Old Hangul test PDF screenshot
Comment 8 DaeHyun Sung 2019-08-18 15:37:28 UTC
Created attachment 153484 [details]
Original Old Hangul List, set Noto Sans CJK KR, LibreOffice Writer file
Comment 9 DaeHyun Sung 2019-08-18 15:38:06 UTC
Created attachment 153485 [details]
Exported Old Hangul List, set Noto Sans CJK KR, pdf file
Comment 10 DaeHyun Sung 2019-08-18 15:38:34 UTC
Created attachment 153486 [details]
Original Old Hangul List, set Noto Serif CJK KR, LibreOffice Writer file
Comment 11 DaeHyun Sung 2019-08-18 15:41:30 UTC
Created attachment 153487 [details]
Exported Old Hangul List, set Noto Serif CJK KR, pdf file
Comment 12 Xisco Faulí 2020-02-18 17:07:47 UTC
A new major release of LibreOffice is available since this bug was reported.
Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 13 QA Administrators 2020-08-18 05:18:23 UTC Comment hidden (obsolete)
Comment 14 QA Administrators 2020-09-18 04:06:35 UTC Comment hidden (obsolete)
Comment 15 DaeHyun Sung 2020-10-06 20:05:16 UTC
I'll deal with the bug on LibreOffice + openSUSE Conference.
Comment 16 DaeHyun Sung 2020-10-06 20:06:48 UTC
Created attachment 166134 [details]
ᄆᆞᆷ국, example of  Korean classical hangul notaiton on LibreOffice impress

 ᄆᆞᆷ국, example of  Korean classical hangul notaiton on LibreOffice impress
Comment 17 DaeHyun Sung 2020-10-06 20:07:31 UTC
Created attachment 166135 [details]
ᄆᆞᆷ국, example of  Korean classical hangul notaiton, after PDF conversion

 ᄆᆞᆷ국, example of  Korean classical hangul notaiton, after PDF conversion
Comment 18 Aron Budea 2020-10-16 13:07:48 UTC
Created attachment 166421 [details]
Original LibreOffice Writer's Korean Old Hangul file screenshot (LO 4.0)

When looking at attachment 153475 [details], in LO 4.0 and preceding versions the first character looks similarly bad as in the current PDF export (except 3.3, where it still looked fine in Writer), attaching screenshot. Not sure if the information is useful, but that changed when HarfBuzz was enabled with the following commit.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=bff8fa97e16f0f06fddc5545ea36c8bd2b18a580
author		Khaled Hosny <khaledhosny@eglug.org>	2013-05-06 11:08:29 +0200
committer	Khaled Hosny <khaledhosny@eglug.org>	2013-05-06 17:22:31 +0200

"Enable HarfBuzz by default"

PDF export crashed before the following fix in 4.4:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=3b38a2342e48a2aec3c2e4f5aebf883db4b84101
author		Audrey Tang <audreyt@audreyt.org>	2014-08-05 09:56:53 +0200
committer	Stephan Bergmann <sbergman@redhat.com>	2014-08-05 09:56:53 +0200

"fdo#81516 Support fonts like Source Han Sans with > 16 FDArray elements"
Comment 19 Aron Budea 2020-10-16 13:15:36 UTC
Confirmed with the ODT sample in LO 7.1.0.0.alpha0+ (6aa831bf46282d3df8b5f214abed7428bd4bd001), 4.4.0.3 / Ubuntu.
Comment 20 QA Administrators 2022-10-17 03:29:47 UTC Comment hidden (obsolete)
Comment 21 ⁨خالد حسني⁩ 2022-10-29 08:59:09 UTC
I can’t reproduce neither with 7.4 nor with master, can anyone still reproduce?
Comment 22 Aron Budea 2022-10-29 22:50:59 UTC
Indeed, the bug is gone, and reverse bibisecting got the following result. Thanks, خالد!

https://cgit.freedesktop.org/libreoffice/core/commit/?id=be39eba9a3d81e20c42f1073a365e91ce855c1cd
author		Khaled Hosny <khaled@aliftype.com>	2022-06-06 00:17:02 +0200
committer	Caolán McNamara <caolanm@redhat.com>	2022-06-09 10:03:51 +0200

Use same glyph width in PDF drawing and font subset