PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Mar 28, 2024 6:21 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Unicode in bookmarks
PostPosted: Wed Nov 16, 2016 10:50 am 
Offline

Joined: Wed Nov 16, 2016 10:42 am
Posts: 2
Hello,

We generate documents using migra docs and then we create it using the PdfDocumentRenderer with Unicode set to true and the embedding to always. This produce a Russian report and all looks neat. However, the bookmark tree inside of Adobe Reader is displaying ???? instead of the actual texts.

I've tried to
* manually modify the outlines on the PdfDocument after the rendering of the normal Document
* set the font to "Arial Unicode MS" for all fonts including the standard font
* Manually called AddBookmark()
without any success.

Is there a way to enable Unicode in the bookmark tree as well?

I'm using version 1.32

Cheers,
Robert


Top
 Profile  
Reply with quote  
 Post subject: Re: Unicode in bookmarks
PostPosted: Wed Nov 16, 2016 11:12 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3095
Location: Cologne, Germany
Hi!

Have you tried version 1.50 beta 3b?
I think it works with the current version.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
 Post subject: Re: Unicode in bookmarks
PostPosted: Wed Nov 16, 2016 12:58 pm 
Offline

Joined: Wed Nov 16, 2016 10:42 am
Posts: 2
Hi,

It works like a charm! Thanks and good job :)

/Rob


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 145 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group