Skip to content

Commit

Permalink
Fix CMap loading for dev and possibly other builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtcode committed Aug 31, 2023
1 parent bed90bb commit 8b6f05d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/pdf/pdf-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,6 @@ class PDFView {
}
this._iframeWindow.PDFViewerApplicationOptions.set('isEvalSupported', false);
this._iframeWindow.PDFViewerApplicationOptions.set('defaultUrl', '');
this._iframeWindow.PDFViewerApplicationOptions.set('cMapUrl', 'cmaps/');
this._iframeWindow.PDFViewerApplicationOptions.set('cMapPacked', true);
// this._iframeWindow.PDFViewerApplicationOptions.set('workerSrc', './pdf.worker.js');
this._iframeWindow.PDFViewerApplicationOptions.set('historyUpdateUrl', false);
this._iframeWindow.PDFViewerApplicationOptions.set('textLayerMode', 1);
this._iframeWindow.PDFViewerApplicationOptions.set('sidebarViewOnLoad', 0);
Expand Down

0 comments on commit 8b6f05d

Please sign in to comment.