Closed
Bug 843558
Opened 12 years ago
Closed 11 years ago
Firefox built-in PDF viewer doesn't support TCPDF
Categories
(Firefox :: PDF Viewer, defect)
Tracking
()
RESOLVED
FIXED
Firefox 25
People
(Reporter: elnino, Unassigned)
References
()
Details
(Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-conversion][pdfjs-d-hwa-on][pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/2956)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20130220 Firefox/22.0
Build ID: 20130220031126
Steps to reproduce:
I tried to open some example files of TCPDF which is PHP class for generating PDF documents using built-in PDF reader but it doesn't work as expected.
Actual results:
The PDF is not displayed correctly.
Expected results:
The PDF should have displayed correctly.
Reporter | ||
Comment 1•12 years ago
|
||
Im providing you the links to examples: http://www.tcpdf.org/examples.php
Reporter | ||
Comment 2•12 years ago
|
||
Reporter | ||
Comment 3•12 years ago
|
||
Comment 4•12 years ago
|
||
Web console says the font has been rejected by the platform.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Example No. 15 with bookmarks doesn't work with the viewer, also not with google chrome.
Normally you can set PDF bookmarks using the Bookmark() method and set PDF named destinations using the setDestination() method.
Before Firefox 19 the document was automatically opened with the Foxit-reader. On the left site of the pdf were bookmarks. In the new Firefox built-in PDF viewer they are not shown.
Comment 6•12 years ago
|
||
This issue is also being tracked in the pdf.js issue tracker:
https://github.com/mozilla/pdf.js/issues/2754
It seems to be related to HWA.
Comment 7•12 years ago
|
||
The problem goes away if you disable font subsetting in TCPDF.
Updated•12 years ago
|
Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-conversion][pdfjs-d-hwa-on]
Version: 19 Branch → Trunk
I disabled font subsetting ($pdf->setFontSubsetting(false);) but this did not fix the bookmark-problem.
@Christian Schmidt:
Was ($pdf->setFontSubsetting(false);) enough for you to fix the bookmark-problem or did you something else?
Comment 9•12 years ago
|
||
My comment about font subsetting only related to the rendering problems as reported by Nino Vranešič.
The bookmark problem sounds like a separate issue, so I recommend that you create a separate bug report for that.
Updated•12 years ago
|
Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-conversion][pdfjs-d-hwa-on] → [pdfjs-c-rendering][pdfjs-d-font-conversion][pdfjs-d-hwa-on][pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/2956
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Depends on: 888635
Resolution: --- → FIXED
Target Milestone: --- → Firefox 25
You need to log in
before you can comment on or make changes to this bug.
Description
•