You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the expected behavior? (add screenshot)
All contents should be rendered properly, just like the attached right.png
What went wrong?
Some green dots in left side are lost, as highlighted in the wrong.png. And this issue only exists in the Chrome browser, it renders properly in safari and Firefox.
The text was updated successfully, but these errors were encountered:
And this issue only exists in the Chrome browser, it renders properly in safari and Firefox.
That clearly points to a canvas-related bug in Chrome, rather than in the PDF.js library, and as such there's unfortunately nothing that can be done about this here.
And this issue only exists in the Chrome browser, it renders properly in safari and Firefox.
That clearly points to a canvas-related bug in Chrome, rather than in the PDF.js library, and as such there's unfortunately nothing that can be done about this here.
But it works fine here in Chrome . I opened the same file and by inspecting the element it renders the content in the canvas as well.
* add a comment to explain how minimal linewidth is computed.
* when context.linewidth < 1 after transform, firefox and chrome
don't render in the same way (issue mozilla#12810).
* set lineWidth to 1 after transform and before stroking
- aims fix issue mozilla#12295
- a pixel can be transformed into a rectangle with both heights < 1.
A single rescale leads to a rectangle with dim equals to 1 and
the other to something greater than 1.
* change the way to render rectangle with null dimensions:
- right now we rely on the lineWidth set before "re" but
it can be set after "re" and before "S" and in this case the rendering
will be wrong.
- render such rectangles as a single line.
[Attach](url
Test1.pdf
)
Configuration:
Steps to reproduce the problem:
What is the expected behavior? (add screenshot)
All contents should be rendered properly, just like the attached right.png
What went wrong?
Some green dots in left side are lost, as highlighted in the wrong.png. And this issue only exists in the Chrome browser, it renders properly in safari and Firefox.
The text was updated successfully, but these errors were encountered: