mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-08-14 17:58:44 +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 eventBus = new pdfjsViewer.EventBus();
|
||||||
private pdfjsDefaultOptions = {
|
private pdfjsDefaultOptions = {
|
||||||
disableAutoFetch: true,
|
disableAutoFetch: true,
|
||||||
disableStream: true
|
disableStream: true,
|
||||||
|
cMapUrl: './cmaps/',
|
||||||
|
cMapPacked: true
|
||||||
};
|
};
|
||||||
private pdfjsWorkerDestroy$ = new Subject<boolean>();
|
private pdfjsWorkerDestroy$ = new Subject<boolean>();
|
||||||
private onDestroy$ = new Subject<boolean>();
|
private onDestroy$ = new Subject<boolean>();
|
||||||
|
Reference in New Issue
Block a user