Bug 22379 - Some symbols aren't rendered correctly
Summary: Some symbols aren't rendered correctly
Status: RESOLVED NOTOURBUG
Alias: None
Product: poppler
Classification: Unclassified
Component: splash backend (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high trivial
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-19 16:31 UTC by Mario Noriega
Modified: 2009-06-22 09:52 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
source code (5.17 KB, text/plain)
2009-06-19 16:31 UTC, Mario Noriega
Details

Description Mario Noriega 2009-06-19 16:31:24 UTC
Created attachment 26966 [details]
source code

I made a PDF to PNM converter, but with some PDF file, poppler wouldn't render the image correctly. Some special characters didn't get displayed, such as, some bullet points or sometimes a newline character, and they get replaced with some other characters. The terminal will throw an error saying, "ERROR: Embedded font file is not a stream." I think it happens during the call to displayPage(). I'm not sure if it's a bug or if it's something I'm missing.

Here's the PDF file that I'm using to test it out. Try out page #50.
http://manuals.info.apple.com/en/iphone_user_guide.pdf
Comment 1 Albert Astals Cid 2009-06-20 03:18:39 UTC
No idea what's causing your problem, but pdftoppm works, have a look at its code.

Also possible that you are using an old poppler, use a newer one.
Comment 2 Mario Noriega 2009-06-22 09:52:56 UTC
(In reply to comment #1)
> No idea what's causing your problem, but pdftoppm works, have a look at its
> code.
> 
> Also possible that you are using an old poppler, use a newer one.
> 

Okay, it's resolved now. The problem was that I created a new instance of XRef() for splashOut->startDoc() when I was supposed to use splashOut->startDoc(doc->getXRef()), instead. Thanks for pointing me to look at pdftoppm code, that helps!

BTW, I was using the latest stable from the webpage, poppler.0.10.7.tar.gz.


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.