From 37dc6286ccd8f55b641dba8b9c4a6191722a5405 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Wed, 18 Jul 2018 11:23:33 +0100 Subject: [PATCH] disable font faces for pdf viewer --- src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.ts b/src/main.ts index 42b37f12d..f7c572d09 100644 --- a/src/main.ts +++ b/src/main.ts @@ -33,6 +33,7 @@ import 'hammerjs'; import * as pdfjsLib from 'pdfjs-dist'; pdfjsLib.PDFJS.workerSrc = 'pdf.worker.js'; +pdfjsLib.PDFJS.disableFontFace = true; if (environment.production) { enableProdMode();