1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00
pdf.js/src
Tim van der Meij d01a0bd0c8
Fix annotation border style parsing by handling empty dash arrays
The PDF specification states that empty dash arrays, i.e. arrays with
zero elements, are in fact valid. In that case the dash array simply
corresponds to a solid, unbroken line. However, this case was erroneously
being flagged as invalid and therefore the annotation was not drawn
because its width was set to zero. This commit fixes the issue by
allowing dash arrays to have a length of zero.
2024-04-08 16:34:27 +02:00
..
core Fix annotation border style parsing by handling empty dash arrays 2024-04-08 16:34:27 +02:00
display [Editor] Remove the mark from the highlight element and set its role to mark (bug 1889623) 2024-04-04 18:06:05 +02:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
scripting_api Fix the string GlobalConstants.IDS_INVALID_DATE 2024-02-23 21:39:06 +01:00
shared [api-minor] Replace the PromiseCapability with Promise.withResolvers() 2024-04-01 11:42:37 +02:00
interfaces.js Use ESLint to ensure that exports are sorted alphabetically 2021-01-09 20:37:51 +01:00
license_header.js Update the year in the license_header files 2023-01-18 22:28:18 +01:00
license_header_libre.js Update the year in the license_header files 2023-01-18 22:28:18 +01:00
pdf.image_decoders.js Limit the amount of console "spam" during fuzz tests (PR 17337 follow-up) 2023-12-04 16:39:45 +01:00
pdf.js [api-minor] Replace the PromiseCapability with Promise.withResolvers() 2024-04-01 11:42:37 +02:00
pdf.sandbox.external.js ESMify some modules for m-c (bug 1824610) 2023-03-27 12:01:31 +02:00
pdf.sandbox.js Use shorter arrow functions where possible 2024-01-21 10:13:12 +01:00
pdf.scripting.js Output pdf.scripting.js as a JavaScript module (PR 17055 follow-up) 2023-10-07 15:27:26 +02:00
pdf.worker.js Allow, optionally, using worker-modules during local development 2023-01-31 12:09:44 +01:00