mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 21:59:00 +02:00
Increase the maximum size of the pdf.js canvas (#7207)
GitOrigin-RevId: 699c4ded7a783e37f655e05452943de7443f1012
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user