Highlighted

Suit symbols missing in acrobat navigation pane

New Here ,
Sep 06, 2020

Copy link to clipboard

Copied

I have a pdf document (generated from Latex) which has headings that contain suit symbols (club, diamond, heart, spade) which are rendered correctly in the form of the appropriate suit symbols.  However in the navigation pane I do not see the suit symbols at all. What is the cause of this and how can I fix this issue?  See the attached file as an example

TOPICS
General troubleshooting

Views

29

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Suit symbols missing in acrobat navigation pane

New Here ,
Sep 06, 2020

Copy link to clipboard

Copied

I have a pdf document (generated from Latex) which has headings that contain suit symbols (club, diamond, heart, spade) which are rendered correctly in the form of the appropriate suit symbols.  However in the navigation pane I do not see the suit symbols at all. What is the cause of this and how can I fix this issue?  See the attached file as an example

TOPICS
General troubleshooting

Views

30

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Sep 06, 2020 0
try67 LATEST
Most Valuable Participant ,
Sep 06, 2020

Copy link to clipboard

Copied

The font used for the suit symbols has a custom encoding for those characters, it doesn't use standard Unicode values, which is why it's not working when you try to include them in the bookmarks' names. If you want to add them you have to use the Unicode escape characters for each suite, which are:

\u2660 - Spade ♠

\u2661 - Heart ♥

\u2662 - Diamond ♦

\u2663 - Club ♣

For example, this code will add the Spade character to the second bookmark in your file:

this.bookmarkRoot.children[1].name+="\u2663"

You can even copy and paste them, for example from here (or from this post...):

https://en.wikipedia.org/wiki/Playing_cards_in_Unicode

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 06, 2020 0