fix#20265
This commit is contained in:
parent
394fa2c184
commit
e751fd0f68
@ -4800,7 +4800,9 @@ class TranslatedFont {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(function (reason) {
|
.catch(function (reason) {
|
||||||
|
if (!globalThis.SILENCE_TYPE3_WARNINGS) {
|
||||||
warn(`Type3 font resource "${key}" is not available.`);
|
warn(`Type3 font resource "${key}" is not available.`);
|
||||||
|
}
|
||||||
const dummyOperatorList = new OperatorList();
|
const dummyOperatorList = new OperatorList();
|
||||||
charProcOperatorList[key] = dummyOperatorList.getIR();
|
charProcOperatorList[key] = dummyOperatorList.getIR();
|
||||||
});
|
});
|
||||||
|
|||||||
@ -98,6 +98,7 @@ import { Toolbar } from "web-toolbar";
|
|||||||
import { ViewHistory } from "./view_history.js";
|
import { ViewHistory } from "./view_history.js";
|
||||||
|
|
||||||
const FORCE_PAGES_LOADED_TIMEOUT = 10000; // ms
|
const FORCE_PAGES_LOADED_TIMEOUT = 10000; // ms
|
||||||
|
globalThis.SILENCE_TYPE3_WARNINGS = true;
|
||||||
|
|
||||||
const ViewOnLoad = {
|
const ViewOnLoad = {
|
||||||
UNKNOWN: -1,
|
UNKNOWN: -1,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user