1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00
pdf.js/src/core
Mike Skalnik 341c5e9d1f [PATCH] Add fallback for font loading when eval disabled
In some cases, such as in use with a CSP header, constructing a function with a
string of javascript is not allowed. However, compiling the various commands
that need to be done on the canvas element is faster than interpreting them.
This patch changes the font renderer to instead emit commands that are compiled
by the font loader. If, during compilation, we receive an EvalError, we instead
interpret them.
2015-08-13 14:33:18 -07:00
..
annotation.js URL annotations handled as UTF-8 to accommodate some bad PDFs. For proper 7-bit ASCII this makes no difference. Fixes Bug 1122280. 2015-05-11 00:46:59 +02:00
arithmetic_decoder.js cleaned whitespace 2015-02-17 11:07:37 -05:00
bidi.js cleaned whitespace 2015-02-17 11:07:37 -05:00
charsets.js cleaned whitespace 2015-02-17 11:07:37 -05:00
chunked_stream.js cleaned whitespace 2015-02-17 11:07:37 -05:00
cmap.js Attempt to infer if a CMap file actually contains just a standard Identity-H/Identity-V map 2015-04-25 11:28:33 +02:00
colorspace.js Ensure that we fetch all indirect objects (i.e. |Ref|s) in ColorSpace_parseToIR 2015-06-19 10:34:27 +02:00
core.js Always traverse the entire parent chain in Page_getInheritedPageProp (issue 5954) 2015-05-30 12:21:05 +02:00
crypto.js Convert UTF8 encoded passwords to ISO-8859-1 for |R = 6| encryption (issue 6010) 2015-05-14 21:46:31 +02:00
evaluator.js Ignore paint form XObject when the name is missing (issue 4558) 2015-06-22 22:10:26 +02:00
font_renderer.js [PATCH] Add fallback for font loading when eval disabled 2015-08-13 14:33:18 -07:00
fonts.js Merge pull request #6090 from Snuffleupagus/issue-6068 2015-06-13 00:29:08 +02:00
function.js Ensure that the result of |constructStichedFromIRResult| is a number (issue 6113) 2015-06-14 23:29:38 +02:00
glyphlist.js Add basic support for ZapfDingbats 2014-09-03 21:54:04 +02:00
image.js Apply the GRAYSCALE_1BPP optimization when needsDecode is set. 2014-08-18 16:45:19 -07:00
jbig2.js avoid out of range array access in JBIG2 decoder 2015-01-23 23:50:09 +01:00
jpg.js Correctly detect the presence of the Adobe specific APP14 JPEG marker (bug 1140761) 2015-03-10 13:07:09 +01:00
jpx.js cleaned whitespace 2015-02-17 11:07:37 -05:00
metrics.js cleaned whitespace 2015-02-17 11:07:37 -05:00
murmurhash3.js Add strict equalities in src/core/murmurhash3.js 2014-08-01 21:56:04 +02:00
network.js cleaned whitespace 2015-02-17 11:07:37 -05:00
obj.js Always traverse the entire parent chain in Page_getInheritedPageProp (issue 5954) 2015-05-30 12:21:05 +02:00
parser.js Refactor searching for end of inline (EI) JPEG image streams 2015-01-10 23:55:55 +01:00
pattern.js Merge pull request #5449 from CodingFabian/preferParamsOverArguments 2014-12-08 15:23:12 -06:00
pdf_manager.js cleaned whitespace 2015-02-17 11:07:37 -05:00
ps_parser.js Add strict equalities in src/core/ps_parser.js 2014-08-01 22:02:10 +02:00
stream.js Revert PR 6024 "[Firefox] Parse all JPEG images in the addon", since it's fixed upstream 2015-05-29 12:58:17 +02:00
worker.js Revert #5603 regarding Chrome range request bug 2015-04-30 22:37:52 +02:00