7839e7b495
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. |
||
---|---|---|
.. | ||
accessibility_spec.mjs | ||
annotation_spec.mjs | ||
copy_paste_spec.mjs | ||
find_spec.mjs | ||
freetext_editor_spec.mjs | ||
highlight_editor_spec.mjs | ||
ink_editor_spec.mjs | ||
scripting_spec.mjs | ||
stamp_editor_spec.mjs | ||
test_utils.mjs |