pdf.js/test
Jonas Jenwald 947d390421 Fallback to a standard font when a Type1 font program is empty (issue 15292)
*Please note:* This is only a, hopefully generally helpful, work-around rather than a proper solution to issue 15292.

There's something that's "special" about the Type1 fonts in the referenced PDF document, since we don't manage to find any actual font programs and thus cannot render anything.
Given that it shouldn't make sense for a Type1 font program to ever be empty, since that means that there's no glyph-data to render, we simply fallback to a standard font to at least try and render *something* in these rare cases.
2022-09-05 12:07:19 +02:00
..
chromium Enable the ESLint no-var rule globally 2021-03-13 16:12:53 +01:00
font Enable the ESLint prefer-spread rule 2022-08-06 10:17:00 +02:00
integration [Annotations] charLimit === 0 means unlimited (bug 1782564) 2022-08-19 11:28:28 +02:00
pdfs Fallback to a standard font when a Type1 font program is empty (issue 15292) 2022-09-05 12:07:19 +02:00
resources Use more for...of loops in the code-base 2022-07-17 16:18:54 +02:00
stats Use more for...of loops in the code-base 2022-07-17 16:18:54 +02:00
ttx Update ttx from version 2.5 to version 3.19.0 2022-07-10 21:18:36 +02:00
types Add support for modern ECMAScript class features 2021-10-22 22:01:17 +02:00
unit Don't replace cr by a white space when the last char on the line is an ideographic char 2022-09-04 14:21:05 +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 [Annotation] Add a div containing the text of a FreeText annotation (bug 1780375) 2022-08-04 11:14:05 +02: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 [api-major] Remove the enhanceTextSelection functionality (PR 15145 follow-up) 2022-08-28 15:04:47 +02:00
integration-boot.js [Annotations] Add some aria-owns in the text layer to link to annotations (bug 1780375) 2022-08-12 14:35:26 +02:00
test_manifest.json Fallback to a standard font when a Type1 font program is empty (issue 15292) 2022-09-05 12:07:19 +02:00
test_slave.html Use the SimpleLinkService when running "annotations" reference tests 2017-09-12 15:24:46 +02:00
test.js Enable the unicorn/prefer-array-find ESLint plugin rule 2022-08-24 16:46: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