Bug 367071 - no text
Summary: no text
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.25.0
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-17 05:56 UTC by Gabriel
Modified: 2018-01-25 23:45 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel 2016-08-17 05:56:49 UTC
i got absolutely no text nor any user-visible message.

i suspect it is lack of japanese fonts, but the program gives me nothing to work with.

everything else on the document rendered fine. and the contents section on the left does show the section titles in japanese just fine, so my system do have at least one japanse font (i know i have several...)

Reproducible: Always

Steps to Reproduce:
1. open this document http://panasonic.jp/p-db/contents/manualdl/1428052116391.pdf
2.
3.

Actual Results:  
document renders without text. only images.
Comment 1 Gabriel 2016-08-17 06:01:29 UTC
console doesn't show anything informative.
$ okular nt_t500.pdf 
okular(16815)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(16815)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(16815)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(16815)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(16815)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(16815)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(16815)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:

here is -v output
Qt: 4.8.7
KDE Development Platform: 4.14.22
Okular: 0.25.0

I cannot test if i can copy-paste the text to be able to read it because i get the silly  "copy protected by DRM" or something dialog.
Comment 2 Gabriel 2016-08-17 06:06:22 UTC
document renders fine on mozilla's pdf.js implementation.
Comment 3 Yuri Chornoivan 2016-08-17 06:09:49 UTC
Works fine here (poppler 0.44, okular 0.25.80).

What is the poppler version in your system (can be seen in "pdftotext -v" output)?

Thanks in advance for this information.
Comment 4 Jonathan Verner 2016-08-17 12:57:02 UTC
Also works here Okular: 0.20.3, poppler: 0.24.5 (Kubuntu 14.04, Qt: 4.8.6, KDE Development Platform: 4.14.13).

> I cannot test if i can copy-paste the text to be able to read it because i get the silly  "copy protected by DRM" or something dialog.

Try unchecking the checkbox labeled "Obey drm restrictions" (Settings->Configure okular...).
It is interesting that, even if I check the "Obey drm restrictions" I can still copy the text.
(Adobe Acrobat Reader does not let me copy text.)

P.S. Poppler version, I think, can be determined by running pdftotext -v
Comment 5 Gabriel 2016-08-19 23:54:56 UTC
sorry for the delay!

$ pdftotext -v
pdftotext version 0.46.0
Copyright 2005-2016 The Poppler Developers - http://poppler.freedesktop.org
Copyright 1996-2011 Glyph & Cog, LLC



after disabling DRM, this is what i can copy/paste with ctrl+a, ctrl+c:

2
6
8
9
10
11
13
14
16
18
1
2
3
4
© Panasonic Corporation 2014
ビューティ・リビング事業部
NT-T500
əɒɅɓɋȷጋ೙Ή᰷
ɛɭʀɎȫɿɲɛɻȸ̗Ꮱ⤴
Comment 6 Gabriel 2016-08-20 00:45:25 UTC
just got an update. Same results.

  poppler-0.47.0-1  poppler-glib-0.47.0-1  poppler-qt4-0.47.0-1  poppler-qt5-0.47.0-1
Comment 7 Albert Astals Cid 2016-08-21 22:47:48 UTC
do you have poppler-data installed?
Comment 8 Albert Astals Cid 2018-01-04 21:24:04 UTC
please answer the question.
Comment 9 Christoph Feck 2018-01-22 23:15:19 UTC
If you can provide the information requested in comment #7, please add it.
Comment 10 Gabriel 2018-01-25 23:23:31 UTC
Sorry its been a while. I do have that library. it is a dependency on poppler on archlinux, so i don't think I was ever missing it.

$ pacman -Ss poppler-data
extra/poppler-data 0.4.8-1 [installed]
    Encoding data for the poppler PDF rendering library


But, i am on a rolling release distro. And now Okular is on 1.3.1 and everything looks nice! I get text just fine on that same file.


if 0.25 is not being distributed anymore, i think this is Fixed.