PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.de/

I want to write arabic lettre
http://forum.pdfsharp.de/viewtopic.php?f=2&t=3155
Page 1 of 1

Author:  olwan [ Tue Jul 28, 2015 9:43 am ]
Post subject:  I want to write arabic lettre

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

Author:  TH-Soft [ Tue Jul 28, 2015 9:07 pm ]
Post subject:  Re: I want to write arabic lettre

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.

Author:  olwan [ Tue Jul 28, 2015 10:17 pm ]
Post subject:  Re: I want to write arabic lettre

thank you TH-Soft
do you mean that, there are no solution for this problem?
then, how i can set the unicode?

Author:  TH-Soft [ Wed Jul 29, 2015 6:38 am ]
Post subject:  Re: I want to write arabic lettre

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

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/