Page MenuHomePhabricator

PdfHandler doesn't display all unicode characters properly
Closed, ResolvedPublic

Details

Reference
bz29937

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 21 2014, 11:32 PM
bzimport set Reference to bz29937.
bzimport added a subscriber: Unknown Object (MLST).
Reedy created this task.Jul 17 2011, 9:45 PM
brion added a comment.Jul 18 2011, 4:02 PM

PdfHandler passes the PDF file off to GhostScript to render pages to JPEGs... if the fonts are embedded, it shouldn't have a problem unless there's a bug in GS.

Could be a production-level problem (bad version or config of GS).

Reedy added a comment.Jul 18 2011, 8:20 PM

(In reply to comment #1)

PdfHandler passes the PDF file off to GhostScript to render pages to JPEGs...
if the fonts are embedded, it shouldn't have a problem unless there's a bug in
GS.
Could be a production-level problem (bad version or config of GS).

Hopefully we'll be upgraded to lucid before too long...

Created attachment 8796
gs rendering output of sample file first page on Ubuntu 10.04 Lucid

Here's rendering from my server that's running on Lucid.

Command line:

gs -sDEVICE=jpeg -sOutputFile=- -dFirstPage=1 -dLastPage=1 -r150 -dBATCH -dNOPAUSE -q WM_CZ_2010_Annual_Report_-_Czech.pdf > out.jpg

Appears pretty much identical to the bad output in production.

Attached:

Reedy added a comment.Jul 19 2011, 1:09 AM

Which seems to suggest it's probably either a configuration issue, else an upstream bug...

The file rendered correctly for me locally using Ghostscript 9.15:

…therefore marking as depending on T110849: Upgrade Ghostscript to 9.15 or later.

Restricted Application added subscribers: Matanya, Aklapper. · View Herald TranscriptAug 30 2015, 9:49 PM
Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 6:34 PM