PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Mar 29, 2024 10:11 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Jul 28, 2015 9:43 am 
Offline

Joined: Tue Jul 28, 2015 9:38 am
Posts: 2
hello.
when i use "PDFsharp-MigraDocFoundation-Assemblies-1_31.zip" for produce pdf file, in arabic letters i get "????" symboles.
how i can get real arabic letters.
thank you


Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 28, 2015 9:07 pm 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 909
Location: CCAA
Hi!
It should look better with Unicode enabled, but you won't get correct Arabic with current version. Support for different glyphs of initial, middle, and final letters is missing.

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 28, 2015 10:17 pm 
Offline

Joined: Tue Jul 28, 2015 9:38 am
Posts: 2
thank you TH-Soft
do you mean that, there are no solution for this problem?
then, how i can set the unicode?


Top
 Profile  
Reply with quote  
PostPosted: Wed Jul 29, 2015 6:38 am 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 909
Location: CCAA
For MigraDoc: Pass true as first parameter to PdfDocumentRenderer.
Code:
PdfDocumentRenderer pdfRenderer = new PdfDocumentRenderer(unicode, embedding);


For PDFsharp:
http://pdfsharp.net/wiki/Unicode-sample.ashx

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


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

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 174 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