diff --git a/web/app.js b/web/app.js index 0152261a9..e483d1797 100644 --- a/web/app.js +++ b/web/app.js @@ -1089,6 +1089,12 @@ const PDFViewerApplication = { featureId, }); + // Don't show the fallback bar for things that are *very* unlikely to cause + // user-visible errors, to avoid bothering the user unnecessarily. + switch (featureId) { + case UNSUPPORTED_FEATURES.errorFontLoadNative: + return; + } // Only trigger the fallback once so we don't spam the user with messages // for one PDF. if (this.fellback) {