mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Merge pull request #4470 from yurydelendik/packcmap
CMaps binary packing
This commit is contained in:
commit
68be273c69
352 changed files with 1351 additions and 413591 deletions
|
@ -28,7 +28,8 @@
|
|||
// "firefox-bin: Fatal IO error 12 (Cannot allocate memory) on X server :1."
|
||||
// PDFJS.disableWorker = true;
|
||||
PDFJS.enableStats = true;
|
||||
PDFJS.cMapUrl = '../external/cmaps/';
|
||||
PDFJS.cMapUrl = '../external/bcmaps/';
|
||||
PDFJS.cMapPacked = true;
|
||||
|
||||
var appPath, masterMode, browser, canvas, dummyCanvas, currentTaskIdx,
|
||||
manifest, stdout;
|
||||
|
|
|
@ -105,6 +105,7 @@ MIMEs = {
|
|||
'.ico': 'image/x-icon',
|
||||
'.png': 'image/png',
|
||||
'.log': 'text/plain',
|
||||
'.bcmap': 'application/octet-stream',
|
||||
'.properties': 'text/plain'
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue