[Poppler-bugs] [Bug 97262] Enumerate PDF named destinations

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 31 14:49:09 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97262

--- Comment #32 from Masamichi Hosoda <trueroad at trueroad.jp> ---
Created attachment 126133
  --> https://bugs.freedesktop.org/attachment.cgi?id=126133&action=edit
utf16.pdf

I've attached PDF which contains UTF-16 destination names.

Here's its source file.

%%% utf16.tex %%%

% The following command generates `utf16.pdf'.
% $ pdftex utf16.tex

\pdfobjcompresslevel=0
\pdfcatalog{/PageMode /UseOutlines}

\catcode0=12

\def\furone{^^ff^^fe^^00f^^00^^fc^^00r^^00 ^^00o^^00n^^00e}
\def\furtwo{^^ff^^fe^^00f^^00^^fc^^00r^^00 ^^00t^^00w^^00o}

\pdfoutline goto name{\furone} {\furone}
\pdfoutline goto name{\furtwo} {\furtwo}

\pdfdest name{\furone} xyz
page 1

\vfill
\eject

\pdfdest name{\furtwo} xyz
page 2

\vfill
\end

%%% utf16.tex %%%

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160831/bebaee0f/attachment.html>


More information about the Poppler-bugs mailing list