mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-06-02 17:34:51 +00:00
disable font faces for pdf viewer
This commit is contained in:
parent
4d7b92823e
commit
37dc6286cc
@ -33,6 +33,7 @@ import 'hammerjs';
|
|||||||
|
|
||||||
import * as pdfjsLib from 'pdfjs-dist';
|
import * as pdfjsLib from 'pdfjs-dist';
|
||||||
pdfjsLib.PDFJS.workerSrc = 'pdf.worker.js';
|
pdfjsLib.PDFJS.workerSrc = 'pdf.worker.js';
|
||||||
|
pdfjsLib.PDFJS.disableFontFace = true;
|
||||||
|
|
||||||
if (environment.production) {
|
if (environment.production) {
|
||||||
enableProdMode();
|
enableProdMode();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user