mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 09:38:06 +02:00
Fetch binary CMap data in the worker-thread, when useWorkerFetch
is set
This patch uses the new option added in PR 12726 to *also* allow fetching binary CMap data directly in the worker-thread in browsers. Given that these changes remove the need to transfer data between threads for the default (browser) use-case, we can also revert the changes in PR 11118 since that simplifies the overall implementation.
This commit is contained in:
parent
248113bbf0
commit
d995f90183
5 changed files with 46 additions and 48 deletions
|
@ -412,6 +412,7 @@ class WorkerMessageHandler {
|
|||
isEvalSupported: data.isEvalSupported,
|
||||
fontExtraProperties: data.fontExtraProperties,
|
||||
useSystemFonts: data.useSystemFonts,
|
||||
cMapUrl: data.cMapUrl,
|
||||
standardFontDataUrl: data.standardFontDataUrl,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue