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
Jonas Jenwald 3705e5e459 Use a proper MessageHandler for PartialEvaluator.getTextContent to avoid errors for fonts relying on built-in CMap files (PR 8064 follow-up)
*My apologies for inadvertently breaking this in PR 8064; apparently we don't have any tests that cover this use-case :(*

Without this patch `getTextContent` will fail if called before `getOperatorList`, since loading of fonts during text-extraction may require fetching of built-in CMap files.

*Please note:* The `text` test added here, which uses an already existing PDF file, fails without this patch.
2017-03-24 17:39:33 +01:00
..
annotation.js Widget annotations: do not crash if Parent is not a dictionary 2017-03-09 23:51:52 +01:00
arithmetic_decoder.js Adds UMD headers to core, display and shared files. 2015-12-15 13:24:39 -06:00
bidi.js Fix inverted calculation of RTL text percentage in bidi. 2017-01-12 23:54:06 +08:00
cff_parser.js Handle cff fonts with erroneous stackSize 2017-03-06 19:28:46 -05:00
charsets.js Adds UMD headers to core, display and shared files. 2015-12-15 13:24:39 -06:00
chunked_stream.js Adjust the brace-style ESLint rule to disallow single lines (and also enable no-iterator) 2017-02-04 15:53:08 +01:00
cmap.js [api-minor] Refactor fetching of built-in CMaps to utilize a factory on the display side instead, to allow users of the API to provide a custom CMap loading factory (e.g. for use with Node.js) 2017-02-16 10:55:35 +01:00
colorspace.js Enable the no-else-return ESLint rule 2017-01-09 20:27:39 +01:00
crypto.js Enable the no-unused-vars ESLint rule 2017-01-29 23:23:17 +01:00
document.js Use a proper MessageHandler for PartialEvaluator.getTextContent to avoid errors for fonts relying on built-in CMap files (PR 8064 follow-up) 2017-03-24 17:39:33 +01:00
encodings.js Refactor Encodings 2016-01-28 11:32:59 -06:00
evaluator.js Adjust the yoda ESLint rule to apply to inequalities as well 2017-03-19 13:27:14 +01:00
font_renderer.js Enable the no-unused-vars ESLint rule 2017-01-29 23:23:17 +01:00
fonts.js Moves checkProblematicCharRanges to font_spec.js 2017-03-03 16:33:35 -06:00
function.js Enable the spaced-comment ESLint rule 2017-01-19 16:41:59 +01:00
glyphlist.js Add TeX-specific glyph names to glyphlist.js to improve both glyph mapping and text selection for mathematic fonts (issue 2594) 2016-10-26 16:39:58 +02:00
image.js Enable the no-else-return ESLint rule 2017-01-09 20:27:39 +01:00
jbig2.js Enable the no-unused-vars ESLint rule 2017-01-29 23:23:17 +01:00
jpg.js Merge pull request #8164 from Snuffleupagus/issue-7828 2017-03-20 22:17:28 +01:00
jpx.js Adjust the yoda ESLint rule to apply to inequalities as well 2017-03-19 13:27:14 +01:00
metrics.js Lazify Metrics 2016-01-28 12:11:46 -06:00
murmurhash3.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00
network.js Network: use the current location to prevent errors when using CSP headers 2017-03-03 23:18:51 +01:00
obj.js Rethrow MissingDataException when needed 2017-03-22 14:55:59 +01:00
parser.js Consume the current character when encountering illegal characters in Lexer.getObject, in order to prevent infinite loops during reading of streams (issue 8061) 2017-02-11 19:32:48 +01:00
pattern.js Adjust the yoda ESLint rule to apply to inequalities as well 2017-03-19 13:27:14 +01:00
pdf_manager.js Refactor the password handling so that it's stored in the PdfManagers, instead of in the XRef 2017-01-03 20:29:52 +01:00
primitives.js Move EOF/isEOF from core/parser.js to core/primitives.js 2017-01-27 13:37:48 +01:00
ps_parser.js Move EOF/isEOF from core/parser.js to core/primitives.js 2017-01-27 13:37:48 +01:00
standard_fonts.js Improve rendering of non-embedded NuptialScript font 2016-11-22 17:56:17 +01:00
stream.js Merge pull request #7972 from Snuffleupagus/eslint_no-unused-vars 2017-02-01 23:50:23 +01:00
type1_parser.js Font ascent descent calculation fix 2017-02-11 01:25:05 -05:00
unicode.js Enable the spaced-comment ESLint rule 2017-01-19 16:41:59 +01:00
worker.js Use a proper MessageHandler for PartialEvaluator.getTextContent to avoid errors for fonts relying on built-in CMap files (PR 8064 follow-up) 2017-03-24 17:39:33 +01:00