769c1450b7
Currently the built-in CMap files are loaded in `src/core/cmap.js` using `XMLHttpRequest` directly. For some environments that might be a problem, hence this patch refactors that to instead use a factory to load built-in CMaps on the main thread and message the data to the worker thread. This is inspired by other recent work, e.g. the addition of the `CanvasFactory`, and to a large extent on the IRC discussion starting at http://logs.glob.uno/?c=mozilla%23pdfjs&s=12+Oct+2016&e=12+Oct+2016#c53010. |
||
---|---|---|
.. | ||
font_core_spec.js | ||
font_fpgm_spec.js | ||
font_os2_spec.js | ||
font_post_spec.js | ||
font_test.html | ||
fontutils.js | ||
jasmine-boot.js | ||
ttxdriver.js |