mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
pdfjs works fine with Japanese characters with this options. Co-authored-by: Hiroshi Shirosaki <h.shirosaki@gmail.com>
This commit is contained in:
@@ -109,7 +109,9 @@ export class PdfViewerComponent implements OnChanges, OnDestroy {
|
||||
private eventBus = new pdfjsViewer.EventBus();
|
||||
private pdfjsDefaultOptions = {
|
||||
disableAutoFetch: true,
|
||||
disableStream: true
|
||||
disableStream: true,
|
||||
cMapUrl: './cmaps/',
|
||||
cMapPacked: true
|
||||
};
|
||||
private pdfjsWorkerDestroy$ = new Subject<boolean>();
|
||||
private onDestroy$ = new Subject<boolean>();
|
||||
|
Reference in New Issue
Block a user