Open
Bug 816570
Opened 13 years ago
Updated 3 years ago
White text is unreadable as background isn't rendered
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
REOPENED
People
(Reporter: amla70, Unassigned)
References
(Depends on 1 open bug)
Details
Attachments
(1 file)
|
854 bytes,
text/html
|
Details |
Try to load this pdf: http://www.guysmithferrier.com/downloads/teni18n.pdf and look at the second page, third, etc...
only a few part of the content is available as the background is not rendered and the white text can't be read that way
Comment 1•13 years ago
|
||
Looks okay on OSX, but windows is broken.
Priority: -- → P3
Whiteboard: [pdfjs-c-rendering]
Comment 2•13 years ago
|
||
Comment 3•13 years ago
|
||
The canvas fails to draw the large image (e.g. 12004x1) using drawImage() function.
Component: PDF Viewer → Canvas: 2D
Priority: P3 → --
Product: Firefox → Core
Version: 19 Branch → Trunk
Comment 4•13 years ago
|
||
The minimal test case (attachment 687993 [details]) shall display the blue-to-black gradient filled rectangle.
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Whiteboard: [pdfjs-c-rendering]
Updated•13 years ago
|
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Comment 7•13 years ago
|
||
Do you consider adding a workaround in the pdf.js side? If not, this is a duplicate of bug 728571.
Depends on: 728571
Comment 8•13 years ago
|
||
I think the pdf.js may already be going in that direction of not allocating the native resolution. If not, it probably should, at least in this case. The quick workaround is to clip, so that you at least see the first 8k, but that is probably worse than failing to display it and having the user download the document - but this is only relevant for the PDF case.
Comment 9•13 years ago
|
||
(In reply to Milan Sreckovic [:milan] from comment #8)
> I think the pdf.js may already be going in that direction of not allocating
> the native resolution. If not, it probably should, at least in this case.
Not sure what do you mean? Original problem was with display of the JPEG image and not with allocation on the canvas. How the original image can be resized on pdf.js side? Problem exists on Windows and not on Mac. Not sure if it's only relevant for the PDF case only.
Comment 10•13 years ago
|
||
Right, my comment was in the context of Comment 7, talking about a different/duplicated bug. So, we could produce a PDF only workaround, clipping the image, or implementing a different solution, in which case this bug is not the duplicate of 728571. Or, we could do a proper, 728571 solution, in which case PDF would also work. There are a few bugs getting mixed in here.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•