Summary: | pdfunite: fonts lost when merging some PDF files | ||
---|---|---|---|
Product: | poppler | Reporter: | oss+freedesktop |
Component: | utils | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | oss+freedesktop |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Example input file 1
Example input file 2 Output by poppler 0.24.4 Copy resources from Pages dict correct patch for resources |
Description
oss+freedesktop
2013-12-18 10:06:13 UTC
Created attachment 90914 [details]
Example input file 1
Created attachment 90915 [details]
Example input file 2
Created attachment 90916 [details]
Output by poppler 0.24.4
Created attachment 90933 [details] [review] Copy resources from Pages dict The fonts were included, but there are no resources reference for the pages, because dompdf specifies the resources in the pages dict, not in the page dict itself. The attached patch copies the resources dict from pages to every page and solves this bug, BUT: please do not commit the patch: I fear I have to merge the resources, So this is more or less a test case, not a solution! I have applied the patch and I can confirm this solves the issue. I hope a definitive patch will be merged soon. Thank you, Thomas! Created attachment 91036 [details] [review] correct patch for resources It was much easier to create a correct patch for this problem than I thought: poppler has already the necessary methods, we just need to use them. So this new patch can be commited, Pushed to master, will be part of 0.25.1 |
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.