Public bug reported:

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

** Affects: libreoffice (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "An example odt file to trigger this bug"
   
https://bugs.launchpad.net/bugs/1748955/+attachment/5053728/+files/bug_example.odt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748955

Title:
  Crash or incorrect PDF generated with Noto fonts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1748955/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to