mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +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:
parent
14c6e6fa1f
commit
ec2f349465
@ -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>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user