mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-27 09:42:00 +00:00
Increase the maximum size of the pdf.js canvas (#7207)
GitOrigin-RevId: 699c4ded7a783e37f655e05452943de7443f1012
This commit is contained in:
parent
755233dcdc
commit
74b76c853d
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ export default class PDFJSWrapper {
|
|||
enableScripting: false, // default is false, but set explicitly to be sure
|
||||
enableXfa: false, // default is false (2021-10-12), but set explicitly to be sure
|
||||
renderInteractiveForms: false,
|
||||
maxCanvasPixels: 8192 * 8192, // default is 4096 * 4096, increased for better resolution at high zoom levels
|
||||
})
|
||||
|
||||
linkService.setViewer(viewer)
|
||||
|
|
Loading…
Reference in a new issue