Crash or incorrect PDF generated with Noto fonts

Bug #1748955 reported by Shinjo Park
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libreoffice (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When exporting an ODT file with Noto CJK family fonts as PDF, LibreOffice writer crashes or generates incorrect glyphs in the generated PDF file. Specifically, when there is an Ideographic Description Character [1] inside the document, exporting the document as PDF will crash LibreOffice. CJK glyphs in general is broken when there are no offending characters. The potentially related upstream bug is fixed around 5.0 series [2], and the upstream version of LibreOffice 5.4.5 successfully exports the ODT file in question. I've attached the file for reference.

[1] https://en.wikipedia.org/wiki/Ideographic_Description_Characters_(Unicode_block)
[2] https://bugs.documentfoundation.org/show_bug.cgi?id=96091 https://github.com/adobe-fonts/source-han-sans/issues/27

Environment information:
$ lsb_release -rd
Description: Ubuntu 17.10
Release: 17.10
$ dpkg -l | grep noto
ii fonts-noto 20161116-1 all metapackage to pull in all Noto fonts
ii fonts-noto-cjk 1:20170601+repack1-1 all "No Tofu" font families with large Unicode coverage (CJK regular and bold)
$ dpkg -l | grep libreoffice
ii libreoffice-avmedia-backend-gstreamer 1:5.4.2-0ubuntu0.17.10.1 amd64 GStreamer backend for LibreOffice
ii libreoffice-base 1:5.4.2-0ubuntu0.17.10.1 amd64 office productivity suite -- database
ii libreoffice-base-core 1:5.4.2-0ubuntu0.17.10.1 amd64 office productivity suite -- shared library
ii libreoffice-base-drivers 1:5.4.2-0ubuntu0.17.10.1 amd64 Database connectivity drivers for LibreOffice
ii libreoffice-calc 1:5.4.2-0ubuntu0.17.10.1 amd64 office productivity suite -- spreadsheet
ii libreoffice-common 1:5.4.2-0ubuntu0.17.10.1 all office productivity suite -- arch-independent files
ii libreoffice-core 1:5.4.2-0ubuntu0.17.10.1 amd64 office productivity suite -- arch-dependent files
ii libreoffice-draw 1:5.4.2-0ubuntu0.17.10.1 amd64 office productivity suite -- drawing
ii libreoffice-help-en-us 1:5.4.2-0ubuntu0.17.10.1 all office productivity suite -- English_american help
ii libreoffice-help-ko 1:5.4.2-0ubuntu0.17.10.1 all office productivity suite -- Korean help
ii libreoffice-impress 1:5.4.2-0ubuntu0.17.10.1 amd64 office productivity suite -- presentation
ii libreoffice-java-common 1:5.4.2-0ubuntu0.17.10.1 all office productivity suite -- arch-independent Java support files
ii libreoffice-kde 1:5.4.2-0ubuntu0.17.10.1 amd64 office productivity suite -- KDE integration
ii libreoffice-l10n-ko 1:5.4.2-0ubuntu0.17.10.1 all office productivity suite -- Korean language package
ii libreoffice-math 1:5.4.2-0ubuntu0.17.10.1 amd64 office productivity suite -- equation editor
ii libreoffice-pdfimport 1:5.4.2-0ubuntu0.17.10.1 all transitional package for PDF Import component for LibreOffice
ii libreoffice-sdbc-hsqldb 1:5.4.2-0ubuntu0.17.10.1 amd64 HSQLDB SDBC driver for LibreOffice
ii libreoffice-style-breeze 1:5.4.2-0ubuntu0.17.10.1 all office productivity suite -- Breeze symbol style
ii libreoffice-style-galaxy 1:5.4.2-0ubuntu0.17.10.1 all office productivity suite -- Galaxy (Default) symbol style
ii libreoffice-style-oxygen 1:5.4.2-0ubuntu0.17.10.1 all office productivity suite -- Oxygen symbol style
ii libreoffice-style-tango 1:5.4.2-0ubuntu0.17.10.1 all office productivity suite -- Tango symbol style
ii libreoffice-writer 1:5.4.2-0ubuntu0.17.10.1 amd64 office productivity suite -- word processor

Revision history for this message
Shinjo Park (peremen) wrote :
Revision history for this message
Shinjo Park (peremen) wrote :
Download full text (3.9 KiB)

After this version had been uploaded, the example ODT file could be successfully exported as PDF. At least this bug could be closed, unless there is other example.

$ dpkg -l | grep libreoffice
ii libreoffice-avmedia-backend-gstreamer 1:5.4.5-0ubuntu0.17.10.4 amd64 GStreamer backend for LibreOffice
ii libreoffice-base 1:5.4.5-0ubuntu0.17.10.4 amd64 office productivity suite -- database
ii libreoffice-base-core 1:5.4.5-0ubuntu0.17.10.4 amd64 office productivity suite -- shared library
ii libreoffice-base-drivers 1:5.4.5-0ubuntu0.17.10.4 amd64 Database connectivity drivers for LibreOffice
ii libreoffice-calc 1:5.4.5-0ubuntu0.17.10.4 amd64 office productivity suite -- spreadsheet
ii libreoffice-common 1:5.4.5-0ubuntu0.17.10.4 all office productivity suite -- arch-independent files
ii libreoffice-core 1:5.4.5-0ubuntu0.17.10.4 amd64 office productivity suite -- arch-dependent files
ii libreoffice-draw 1:5.4.5-0ubuntu0.17.10.4 amd64 office productivity suite -- drawing
ii libreoffice-help-en-us 1:5.4.5-0ubuntu0.17.10.1 all office productivity suite -- English_american help
ii libreoffice-help-ko 1:5.4.5-0ubuntu0.17.10.1 all office productivity suite -- Korean help
ii libreoffice-impress 1:5.4.5-0ubuntu0.17.10.4 amd64 office productivity suite -- presentation
ii libreoffice-java-common 1:5.4.5-0ubuntu0.17.10.4 all office productivity suite -- arch-independent Java support files
ii libreoffice-kde 1:5.4.5-0ubuntu0.17.10.4 amd64 office productivity suite -- KDE integration
ii libreoffice-l10n-ko 1:5.4.5-0ubuntu0.17.10.1 all office productivity suite -- Korean language package
ii libreoffice-math 1:5.4.5-0ubuntu0.17.10.4 amd64 office productivity suite -- equation editor
ii libreoffice-pdfimport 1:5.4.5-0ubuntu0.17.10.4 all transitional package for PDF Import component for LibreOffice
ii libreoffice-sdbc-hsqldb 1:5.4.5-0ubuntu0.17.10.4 amd64 HSQLDB SDBC driver for LibreOffice
ii libreoffice-style-breeze 1:5.4.5-0ubuntu0.17.10.4 ...

Read more...

Revision history for this message
Olivier Tilloy (osomon) wrote :

Thanks for the feedback, Shinjo Park. Closing the bug as fixed.

Changed in libreoffice (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.