pdf.js/test
Jonas Jenwald e723da7261 Ignore invalid /Encoding-entries when parsing fonts (issue 14821)
In the referenced PDF document the fonts have /Encoding-entries that are Streams (containing completely bogus data), which are thus obviously not valid here.
Hence, only when `ignoreErrors` is set, we'll now ignore these corrupt /Encoding-entries and fallback to the existing code to try and infer a usable encoding.

Given that this is *clearly* a case of corrupt PDF documents, there's no guarantee that this will "fix" all such cases, however it's the best that we do here and shouldn't really be worse than ignoring an entire font.
2022-04-22 11:49:03 +02:00
..
chromium Enable the ESLint no-var rule globally 2021-03-13 16:12:53 +01:00
font Simplify the decodeFontData/encodeFontData font-test helper functions 2022-02-25 11:40:03 +01:00
integration [JS] Use beforeinput event to trigger a keystroke event in the sandbox 2022-01-23 19:53:01 +01:00
pdfs Ignore invalid /Encoding-entries when parsing fonts (issue 14821) 2022-04-22 11:49:03 +02:00
resources Replace XMLHttpRequest usage with the Fetch API in the reftest-analyzer 2022-03-06 16:02:34 +01:00
stats Enable the ESLint no-var rule in the test/stats/ folder 2021-03-14 10:15:45 +01:00
ttx Update fonttools location and version (issue 6223) 2015-07-17 12:51:09 +02:00
types Add support for modern ECMAScript class features 2021-10-22 22:01:17 +02:00
unit Improve performance with image masks (bug 857031) 2022-04-09 18:26:26 +02:00
.eslintrc Enable ESLint rules that no longer need to be disabled on a directory/file-basis 2021-01-22 17:47:03 +01:00
.gitignore Ignore test snapshots directory. 2013-03-15 11:24:08 -07:00
add_test.js Enable the ESLint no-var rule in test/add_test.js 2021-03-14 10:25:51 +01:00
annotation_layer_builder_overrides.css Enable the Stylelint length-zero-no-unit rule 2021-01-10 14:09:36 +01:00
downloadutils.js Make verifyManifestFiles fail for non-linked test-cases with a "link": true-entry 2021-09-10 09:51:34 +02:00
driver.js Merge pull request #14651 from Snuffleupagus/Driver-inlineImages-fetch 2022-03-09 20:47:38 +01:00
integration-boot.js Update Jasmine to version 4 2022-01-09 11:32:34 +01:00
test_manifest.json Ignore invalid /Encoding-entries when parsing fonts (issue 14821) 2022-04-22 11:49:03 +02:00
test_slave.html Use the SimpleLinkService when running "annotations" reference tests 2017-09-12 15:24:46 +02:00
test.js Improve performance with image masks (bug 857031) 2022-04-09 18:26:26 +02:00
testutils.js Enable the no-var linting rule in test/testutils.js 2021-12-18 15:58:47 +01:00
text_layer_test.css Remove old prefixed CSS rules used with text tests 2022-02-20 18:01:22 +01:00
webserver.js Remove the LGTM configuration and inline disable comments (issue 13829) 2021-08-03 11:14:49 +02:00
xfa_layer_builder_overrides.css XFA - Fix xfaLink class to make links work (bug 1735738) 2021-10-29 11:39:33 -04:00