Bug 29674 - Warnings about missing language pack should be exposed via API/GUI
Summary: Warnings about missing language pack should be exposed via API/GUI
Status: RESOLVED MOVED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-19 05:46 UTC by Sandro Giessl
Modified: 2018-08-21 10:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
PDF doesn't display "=>" without additional language packs installed. (21.93 KB, application/pdf)
2010-08-19 05:48 UTC, Sandro Giessl
Details

Description Sandro Giessl 2010-08-19 05:46:58 UTC
Hi,

there are some PDF files which require additional language packs such as Adobe-Japan1.
In ubuntu, these are contained in the package 'poppler-data' which is optional (but recommended) for poppler based PDF readers. In my case, it has not been installed by default.

In my case, considering the PDF document attached, there was only the "=>" glyph missing. In this case, it hadn't been immediately apparent that this was due to the missing language pack. Instead, this was my route in isolating the problem:
error in the pdf document? no, because it works in acroread
error in Okular? seemed like it at first, because 'gs' and xpdf rendered it just fine. discovered that other pdf viewers have the same problem.
accidentally checked the stdout of okular/evince to discover that both had these error messages in common:

Error: Missing language pack for 'Adobe-Japan1' mapping 
Error: Unknown font tag 'F6.1' 
Error (21281): No font in show

only after that, I found out about poppler-data; after having installed it, everything is alright now.

I propose that users should be notified about this problem via some GUI dialog within their PDF viewer (let it be up to the viewer to implement how these errors are to be displayed via unobstrusive popups), together with a suggestion to check wether language packs are installed.

As far as I can see, there is no error handling API in libpoppler, so this would have to be attacked first, before filling feature requests for the viewers...
Comment 1 Sandro Giessl 2010-08-19 05:48:34 UTC
Created attachment 37979 [details]
PDF doesn't display "=>" without additional language packs installed.
Comment 2 GitLab Migration User 2018-08-21 10:57:33 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/446.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.