Summary: | text not rendered due to font errors | ||
---|---|---|---|
Product: | poppler | Reporter: | madbiologist <madbiologist2016> |
Component: | general | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Output of PDF fonts
the problem document Reconstruct xref table if xref needed but missing PDF repaired with pdfseparate The patch also makes this file fail to pen Reconstruct xref table if xref needed but missing |
Description
madbiologist
2011-09-08 08:30:52 UTC
Created attachment 50980 [details]
the problem document
Created attachment 60610 [details] [review] Reconstruct xref table if xref needed but missing The PDF is defect: It's xref table does only contain entries for obj's 1 to 11 (without any reference to another xref table), but it contains 23 objects and all of them are needed. The patch now tries to reconstruct the xref table also in such a case, how obviously also done by acrobat. But You should file a bug to the PDF creator (OJAMM?, I never heard about it) Created attachment 60611 [details]
PDF repaired with pdfseparate
For Your convenience, here the PDF repaired by pdfseparate (after applying the patch)
This patch produces a change in http://svn.ghostscript.com/ghostscript/tests/Ghent_V3.0/072_OutputIntent_ISOCoated2-v1_x3.pdf I wouldn't say it's a regression because Adobe Reader does not render any of the X we render, but the change seems strange to me. Thomas do you think i should worry about this? Created attachment 60630 [details]
The patch also makes this file fail to pen
And with fail to pen i mean fail to open, i.e. after using the patch suggested by thomas i can't open it anymore. Created attachment 60651 [details] [review] Reconstruct xref table if xref needed but missing Sorry, I was a little bit too quick and dirty, and not cowardly enough: I missed a condition with splitted xref tables and run too early in trying to reconstruct a (valid) xref table. This new patch should solve that, but I don't want to waste Your time: I plan to regtest the min linewidth this weekend, so if You haven't spare time to look into it, I'll give an additional comment if this patch is save after regtesting it by my own. Comment on attachment 60610 [details] [review] Reconstruct xref table if xref needed but missing Sorry, forget to mark the former patch as obsolete and don't know how to do that without uploading a new attachement :-( Comment on attachment 60651 [details] [review] Reconstruct xref table if xref needed but missing I regtested now this patch (of comment 7), I found no regressions. Pushed :-) |
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.