Created attachment 127325 [details] fig: my okular wont show cjk characters # SUMMARY Can not display CJK characters with Adobe's OTF Fonts # STEPS TO REPRODUCE 1. I opened a pdf file with CJK characters. This pdf file uses 'Adobe Song Std.otf', which could be downloaded here: [Adobe Song Std.otf](https://github.com/mingchen/mac-osx-chinese-fonts/blob/master/Adobe%20Simple%20Chinese%20Fonts/AdobeSongStd-Light.otf) # OBSERVED RESULT 1. All CJK Characters can not display (showed nothing), but English char and numeric characters could display. 2. Opening the same pdf file with chrome/chromium or firefox or adobe acrobat reader works without problems. # EXPECTED RESULT Show CJK characters. # SOFTWARE/OS VERSIONS (available in About System) Operating System: Arch Linux KDE Plasma Version: 5.18.4 KDE Frameworks Version: 5.68.0 Qt Version: 5.14.2 Kernel Version: 5.5.13-arch2-1 OS Type: 64-bit Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz Memory: 15.3 GiB # ADDITIONAL INFORMATION PDF file was generated by pandoc, markdown to pdf tool. Using ctexart with arg "fontset=adobe"
Created attachment 127326 [details] same content in firefox: works as expected
Can you share the PDF file (or its sample to reproduce the problem), please? Can the problem be reproduced in other poppler-based applications (Evince, qpdfview)? Thanks in advance for your answers.
Created attachment 127327 [details] sample PDF file
(In reply to Yuri Chornoivan from comment #2) > Can you share the PDF file (or its sample to reproduce the problem), please? > > Can the problem be reproduced in other poppler-based applications (Evince, > qpdfview)? > > Thanks in advance for your answers. attached a sample pdf file. The problem CAN be reproduced in Evince.
Please report the bug against poppler: https://gitlab.freedesktop.org/poppler/poppler/issues/new?issue The sample file is displayed fine here btw (Okular 20.07.70, poppler 0.87, Mageia 7).
(In reply to Yuri Chornoivan from comment #5) > Please report the bug against poppler: > > https://gitlab.freedesktop.org/poppler/poppler/issues/new?issue > > The sample file is displayed fine here btw (Okular 20.07.70, poppler 0.87, > Mageia 7). Thanks for your reply!
Before doing that make sure you installed poppler-data. Because even if pacman says poppler-data (optional) - encoding data to display PDF documents containing CJK characters It would seem to me you don't have it installed
(In reply to Albert Astals Cid from comment #7) > Before doing that make sure you installed poppler-data. > > Because even if pacman says > > poppler-data (optional) - encoding data to display PDF documents containing > CJK characters > > It would seem to me you don't have it installed --- Thanks! `poppler-data` helped me solve this out!