mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 10:15:37 +02:00
Move the disableFontFace
option from the global PDFJS
object and into getDocument
instead
This commit is contained in:
parent
f3900c4e57
commit
c7c583583b
5 changed files with 19 additions and 17 deletions
|
@ -342,8 +342,6 @@ function getDefaultSetting(id) {
|
|||
return globalSettings ? globalSettings.disableStream : false;
|
||||
case 'disableRange':
|
||||
return globalSettings ? globalSettings.disableRange : false;
|
||||
case 'disableFontFace':
|
||||
return globalSettings ? globalSettings.disableFontFace : false;
|
||||
case 'disableCreateObjectURL':
|
||||
return globalSettings ? globalSettings.disableCreateObjectURL : false;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue