Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic PdfExporter and accented characters (Read 3412 times)
AD2012
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 6
Joined: Mar 16th, 2012
PdfExporter and accented characters
Mar 16th, 2012 at 7:44am
Print Post  
MindFusion.Diagramming for WinForms, Professional Edition
MindFusion.Diagramming.Export.Pdf.dll fileversion 5.3.3.27353
Visual Studio 2010, VB, .NET Framework 4

Hi,

I'm using this code for exporting the diagram to a pdf file
            Dim loExporter As New PdfExporter
            loExporter.Export(Diagram1, lsFile)

Att2: print screen of diagram
Att1: pdf file as result of the export

Some accented characters are displayed as "?". Please how can I fix this?
  

Proc3082.pdf (Attachment deleted)
printscreen.png (Attachment deleted)
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: PdfExporter and accented characters
Reply #1 - Mar 16th, 2012 at 7:58am
Print Post  
Try setting PdfExporter.AutoDetectEncoding to false and set PdfExporter.DefaultEncoding to the character encoding you'd like to use.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
AD2012
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 6
Joined: Mar 16th, 2012
Re: PdfExporter and accented characters
Reply #2 - Mar 16th, 2012 at 8:10am
Print Post  
Stoyo wrote on Mar 16th, 2012 at 7:58am:
Try setting PdfExporter.AutoDetectEncoding to false and set PdfExporter.DefaultEncoding to the character encoding you'd like to use.

I hope that helps,
Stoyan


I'm getting this error:
'AutoDetectEncoding' is not a member of 'MindFusion.Diagramming.Export.PdfExporter'.
Probably my version of MindFusion.Diagramming is outdated.
Please confirm that your suggestion will fix the problem, I' ll check in the meanwhile the possibilty to upgrade.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: PdfExporter and accented characters
Reply #3 - Mar 16th, 2012 at 8:59am
Print Post  
I don't have such characters on my keyboard, please copy some sample text here or attach a diagram file and I will test it with these settings. You could also check if you don't have a newer version in your download archive at http://clientsarea.eu/.
  
Back to top
 
IP Logged
 
AD2012
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 6
Joined: Mar 16th, 2012
Re: PdfExporter and accented characters
Reply #4 - Mar 19th, 2012 at 7:36am
Print Post  
Stoyo wrote on Mar 16th, 2012 at 8:59am:
I don't have such characters on my keyboard, please copy some sample text here or attach a diagram file and I will test it with these settings. You could also check if you don't have a newer version in your download archive at http://clientsarea.eu/.


&é"'(§è!çà)-

^$ ù µ € ¨* % £ ?./+ ,;:= +=%£ [ ] ´`~

Latest version on download page = 5.5
« Last Edit: Mar 19th, 2012 at 8:58am by AD2012 »  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: PdfExporter and accented characters
Reply #5 - Mar 20th, 2012 at 7:50am
Print Post  
V5.5 exports all characters correctly from what I can see. This is a PDF exported from the 5.5 demo without changing anything in the export menu handler:
http://mindfusion.eu/_samples/accents_test.pdf

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint