pdf.js/src
Calixte Denizet 7839e7b495 Preserve the whitespaces when getting text from FreeText annotations (bug 1871353)
When the text of an annotation is extracted in using getTextContent, consecutive white spaces
are just replaced by one space and. So this patch add an option to make sure that white
spaces are preserved when appearance is parsed.
For the case where there's no appearance, we can have a fast path to get the correct string
from the Content entry.
When an existing FreeText is edited, space (0x20) are replaced by non-breakable (0xa0) ones
to make to see all of them on screen.
2024-01-05 10:20:32 +01:00
..
core Preserve the whitespaces when getting text from FreeText annotations (bug 1871353) 2024-01-05 10:20:32 +01:00
display Preserve the whitespaces when getting text from FreeText annotations (bug 1871353) 2024-01-05 10:20:32 +01:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
scripting_api Set text field value as a string when it's for a date or a time (bug 1868503) 2023-12-06 09:44:30 +01:00
shared [Editor] Add a color picker with predefined colors for highlighting text (bug 1866434) 2023-12-05 23:27:22 +01:00
interfaces.js Use ESLint to ensure that exports are sorted alphabetically 2021-01-09 20:37:51 +01:00
license_header_libre.js Update the year in the license_header files 2023-01-18 22:28:18 +01:00
license_header.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 [Editor] Add a color picker with predefined colors for highlighting text (bug 1866434) 2023-12-05 23:27:22 +01:00
pdf.sandbox.external.js ESMify some modules for m-c (bug 1824610) 2023-03-27 12:01:31 +02:00
pdf.sandbox.js Introduce more optional chaining in the code-base 2023-08-26 10:52:23 +02: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