Bug 337527 - okular does not print pdf which uses specific embedded font
Summary: okular does not print pdf which uses specific embedded font
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: printing (show other bugs)
Version: 0.19.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-17 07:10 UTC by dmatt
Modified: 2014-07-22 23:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
example file with preview and print failing (151.62 KB, application/pdf)
2014-07-22 10:35 UTC, dmatt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dmatt 2014-07-17 07:10:31 UTC
Using Kubuntu 14.04.
Ocular opens and shows correctly pdf document (created via TCPDF 6.0.010 in format PDF v. 1.7 as shown in properties) which uses subset embedded CID True Type Klavika font. It generates empty preview of such document with only okular logo inside. Attempt to print outputs empty page. The same document is previewed and printed OK from Evince. This font is also installed on system, but printing fails regardless if it is installed.
If the document is generated using some of the other fonts installed as default in system, Okular previews and prints it correctly.

When started from command line, okular outputs:

Bus::open: Can not get ibus-daemon's address. 
IBusInputContext::createInputContext: no connection to ibus-daemon 
This backend is only for XRandR 1.1, your version is:  1 . 4

attempt to preview produces following messages:
rangecheck -15
rangecheck -15
okular(9631)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [88x124]
QImage::scaled: Image is a null image
rangecheck -15
rangecheck -15
okular(9631)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785]
QImage::scaled: Image is a null image
rangecheck -15
rangecheck -15
okular(9631)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785]
QImage::scaled: Image is a null image
rangecheck -15
rangecheck -15
okular(9631)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [78x110]
QImage::scaled: Image is a null image

Attempt to print does not produce any message.
Comment 1 Albert Astals Cid 2014-07-17 20:54:53 UTC
Can you pleasse attach the file?
Comment 2 dmatt 2014-07-22 10:35:32 UTC
Created attachment 87872 [details]
example file with preview and print failing

I am adding example as requested.
Comment 3 Albert Astals Cid 2014-07-22 23:31:26 UTC
This is a bug with the library we use for generating ps files from pdf (amongst other things) called poppler.

You can see by doing this
pdftops file.pdf
gs file.ps

You will get an error when usually you'd get the rendering of the ps file. Please go to https://bugs.freedesktop.org and report a bug about it.

Thanks for caring about Okular.