disable font faces for pdf viewer

This commit is contained in:
Denys Vuika 2018-07-18 11:23:33 +01:00
parent 4d7b92823e
commit 37dc6286cc

View File

@ -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();