sumatrapdf icon indicating copy to clipboard operation
sumatrapdf copied to clipboard

Soft hyphens are always shown in bookmarks

Open brakhane opened this issue 3 years ago • 1 comments

Affected Versions: 3.4.3 as well as 3.3.3 (I haven't tested others)

SumatraPDF seems to always render soft hyphens in bookmarks:

image

(the Bookmark is Test<shy>ing 123 where <shy> is the soft hyphen U+00AD)

Other PDF viewers like Evince and Firefox's PDF viewer do not show the hyphen. For more context, see Kozea/Weasyprint#1654.

brakhane avatar Jun 01 '22 17:06 brakhane

Bugged PDF https://github.com/Kozea/WeasyPrint/files/8816085/bug.pdf Note Bookmarks are used as Named Destinations thus ideally unquoted and not contain spaces :-) certainly avoid any punctuation in the first word https://pdfobject.com/pdf/pdf_open_parameters_acro8.pdf#nameddest=Parameters

Bookmarks as URL Navigation should work with many PDF based browsers like IE/Edge/Chrome but may not with PDF.js based ones

Bookmarks image Tracker Outline image Content image

Text Searching image image

GitHubRulesOK avatar Jun 01 '22 18:06 GitHubRulesOK