Skip to content

Browser zoom 80% causes PDF background not to be complete #224

@cschwaderer

Description

@cschwaderer

First of all: I'm not sure whether this is an Angular-PDF or PDF.JS issue.

Problem is: If browser zoom is ca. 80% the PDF is not rendered correctly.
Consider this PDF: foo.pdf

Normally, it should be rendered like this on a page with red background:
229

However, if the browser zoom level is set to 80% it will first scale correctly, then, however, after refreshing/reloading the page/browser the view is somehow broken, looking like so:
230

I've created a Plunker for demonstration, using Angular-PDF and PDF.JS files from the demo on
https://sayan.ee/angularjs-pdf/
so to exclude a version problem.

Tested in Chrome and Firefox.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions