[Poppler-bugs] [Bug 29674] New: Warnings about missing language pack should be exposed via API/GUI

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 19 05:46:58 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=29674

           Summary: Warnings about missing language pack should be exposed
                    via API/GUI
           Product: poppler
           Version: unspecified
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: sgiessl at gmail.com


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...

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list