mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 07:08:08 +02:00
Merge pull request #12995 from Snuffleupagus/errorFontMissing-no-fallback-bar
Stop showing the fallback bar for "errorFontMissing" errors (PR 11218 follow-up)
This commit is contained in:
commit
952bc08ec0
1 changed files with 1 additions and 0 deletions
|
@ -1082,6 +1082,7 @@ const PDFViewerApplication = {
|
|||
// user-visible errors, to avoid bothering the user unnecessarily.
|
||||
switch (featureId) {
|
||||
case UNSUPPORTED_FEATURES.errorFontLoadNative:
|
||||
case UNSUPPORTED_FEATURES.errorFontMissing:
|
||||
return;
|
||||
}
|
||||
// Only trigger the fallback once so we don't spam the user with messages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue