mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
disable font faces for pdf viewer
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user