Last modified: 2012-10-15 13:46:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T31937, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29937 - PdfHandler doesn't display all unicode characters properly
PdfHandler doesn't display all unicode characters properly
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
PdfHandler (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://upload.wikimedia.org/wikipedia...
:
Depends on:
Blocks: 41037
  Show dependency treegraph
 
Reported: 2011-07-17 21:45 UTC by Sam Reed (reedy)
Modified: 2012-10-15 13:46 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
gs rendering output of sample file first page on Ubuntu 10.04 Lucid (86.37 KB, image/jpeg)
2011-07-19 00:16 UTC, Brion Vibber
Details

Description Sam Reed (reedy) 2011-07-17 21:45:39 UTC
See the attached screenshot from the thumbnail of http://meta.wikimedia.org/w/index.php?title=File%3AWM_CZ_2010_Annual_Report_-_Czech.pdf&page=1
Comment 1 Brion Vibber 2011-07-18 16:02:47 UTC
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).
Comment 2 Sam Reed (reedy) 2011-07-18 20:20:38 UTC
(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...
Comment 3 Brion Vibber 2011-07-19 00:16:15 UTC
Created attachment 8796 [details]
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.
Comment 4 Sam Reed (reedy) 2011-07-19 01:09:20 UTC
Which seems to suggest it's probably either a configuration issue, else an upstream bug...

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links