PDFsharp & MigraDoc Foundation

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

All times are UTC


Search found 48 matches
Search term used: arabic Search these results:

Author Message

 Forum: Support   Topic: Support Arabic language (I know it works partially)

Posted: Wed Sep 25, 2019 7:47 pm 

Replies: 0
Views: 21573


I'm using PDFSharp for years now, but I just noticed that in my development machine I CAN see Arabic or Persian text just fine (not fine, it is not RTL but the glyphs are shown). But, in the server where the code runs, it doesn't show the glyphs... it shows "?" ...

 Forum: Support   Topic: Arabic support Right to left

Posted: Mon Apr 08, 2019 7:28 pm 

Replies: 4
Views: 10016


I did a workaround for Arabic texts, recently.
It works by converting the Arabic letters to correct glyphs, depending on letter positions. And then reversing those new characters.

I wrote this blog post about it: Rendering correct Arabic glyphs in PDF (using PdfSharp)

 Forum: Support   Topic: Arabic Font support

 Post subject: Re: Arabic Font support
Posted: Wed Feb 27, 2019 9:47 am 

Replies: 1
Views: 3679


Please check earlier threads on that topic:
search.php?keywords=arabic&terms=all&author=&sc=1&sf=all&sk=t&sd=d&sr=posts&st=0&ch=300&t=0&submit=Search

 Forum: Support   Topic: Arabic Font support

 Post subject: Arabic Font support
Posted: Wed Feb 27, 2019 7:36 am 

Replies: 1
Views: 3679


Is it possible to add Arabic text using PDF sharp? I'm trying to convert html text to pdf document. If so, Can you please share a link or code snippet.

 Forum: Support   Topic: Arabic support Right to left

Posted: Sun Nov 26, 2017 8:13 pm 

Replies: 4
Views: 10016


Which is correct glyph for Arabic? Not my area of expertise. I cannot read Arabic. There are four variants of "letter Beeh": isolated, initial, medial, final. PDFsharp does not (yet) select the correct variant based on the context. ...

 Forum: Support   Topic: Arabic support Right to left

Posted: Sun Nov 26, 2017 6:50 pm 

Replies: 4
Views: 10016


HI,
Which is correct glyph for Arabic?
When I reverse the string some characters looks get changes.

 Forum: Support   Topic: Arabic support Right to left

Posted: Sun Nov 26, 2017 6:20 pm 

Replies: 4
Views: 10016


Hi!

For some languages you can fake "right to left" by simply reversing the string.
With Arabic you also must make sure you use the correct glyph for beginnings, ends, and middle positions. Support for that is not (yet) included with PDFsharp.

 Forum: Support   Topic: Arabic support Right to left

Posted: Sun Nov 26, 2017 4:19 pm 

Replies: 4
Views: 10016


HI. I am developing a C# winforms application. In PDFsharp how i can print arabic text and how to print right to left. I used below to code to print Arabic. It print Arabic characters but not in right to left order. XPdfFontOptions options = new XPdfFontOptions(PdfFontEncoding.Unicode, ...

 Forum: Feature Request   Topic: Arabic support

 Post subject: Re: Arabic support
Posted: Sun Jul 09, 2017 9:14 am 

Replies: 23
Views: 105067


Do you have some pointers or sample code for how to do custom line breaks? PDFsharp includes the XTextFormatter class that is a sample for linebreaks. With Latin characters you have words and linebreaks occur between words - there is a list of characters that allow breaks like blank, hyphen, comma,...

 Forum: Feature Request   Topic: Arabic support

 Post subject: Re: Arabic support
Posted: Sat Jul 08, 2017 7:55 pm 

Replies: 23
Views: 105067


I see. Well, regular text (english) breaks fine. So there obviously is something done.
Do you have some pointers or sample code for how to do custom line breaks?

thx

 Forum: Feature Request   Topic: Arabic support

 Post subject: Re: Arabic support
Posted: Sun Jul 02, 2017 4:41 pm 

Replies: 23
Views: 105067


Hi!
gastan wrote:
Any way to do line wrapping in Chinese?
With PDFsharp your code is responsible for linebreaks (or columnbreaks).
You probably have to call MeasureString for each single glyph to get width and height and then draw the characters in one column until you reach the margin for a columnbreak.

 Forum: Feature Request   Topic: Arabic support

 Post subject: Re: Arabic support
Posted: Sun Jul 02, 2017 2:50 pm 

Replies: 23
Views: 105067


Any way to do line wrapping in Chinese?
In Chinese or Japanese the text is one long line. I would need it to break at the end of page to the next line :(

 Forum: Feature Request   Topic: Arabic support

 Post subject: Re: Arabic support
Posted: Sat Aug 27, 2016 12:28 pm 

Replies: 23
Views: 105067


This code doesn't look like code for PDFsharp. Test this: Document document = new Document(); Section section = document.AddSection(); Paragraph paragraph = section.AddParagraph(); document.Styles[StyleNames.Normal].Font.Name = "Arial Unicode MS"; paragraph.AddFormattedText("This shou...

 Forum: Feature Request   Topic: Arabic support

 Post subject: Re: Arabic support
Posted: Sat Aug 27, 2016 12:13 pm 

Replies: 23
Views: 105067


Arabic worked for me. if u have webapp, u need to set RTL attribude for the page...
and for PDF... I think it works (I cant read it), no idea, but there were no complains

 Forum: Feature Request   Topic: Arabic support

 Post subject: Re: Arabic support
Posted: Sat Aug 27, 2016 11:05 am 

Replies: 23
Views: 105067


I found out, it is necessary to run the BIDI algorithm on the Arabic string. I think this needs to be done by PDFsharp. But still characters are not joined correctly.

 Forum: Feature Request   Topic: Arabic support

 Post subject: Re: Arabic support
Posted: Fri Aug 26, 2016 3:38 pm 

Replies: 23
Views: 105067


I'm interested in Arabic support, too. I already got Chinese working with PDFsharp.

 Forum: Support   Topic: I want to write arabic lettre

Posted: Wed Jul 29, 2015 6:38 am 

Replies: 3
Views: 6345


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

 Forum: Support   Topic: I want to write arabic lettre

Posted: Tue Jul 28, 2015 10:17 pm 

Replies: 3
Views: 6345


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

 Forum: Support   Topic: I want to write arabic lettre

Posted: Tue Jul 28, 2015 9:07 pm 

Replies: 3
Views: 6345


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.

 Forum: Support   Topic: I want to write arabic lettre

Posted: Tue Jul 28, 2015 9:43 am 

Replies: 3
Views: 6345


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

 Forum: Support   Topic: Mandarin Text

 Post subject: Re: Mandarin Text
Posted: Tue Apr 14, 2015 2:42 pm 

Replies: 2
Views: 4610


... The current implementation of PDFsharp is limited to left-to-right languages. Languages like Arabic cannot yet be created even with Unicode fonts. Also the so called CJK (Chinese, Japanese, Korean) support in PDF can also not be addressed with ...

 Forum: Feature Request   Topic: Arabic support

 Post subject: Re: Arabic support
Posted: Thu Nov 27, 2014 4:09 pm 

Replies: 23
Views: 105067


Your sample works for me in separate console application. But for some reason I cannot make it work in my web application (asp.net2) using same routines. Does anybody have any clue what could be the problem? I've been trying to get chinese glyphs into a pdf trough pdfSharp, WITH SUCCESS! It semes li...

 Forum: Support   Topic: Does PDFsharp support for Arabic, Hebrew, Farsi (Chinese etc

Posted: Mon Jun 23, 2014 10:17 am 

Replies: 2
Views: 5526


Hi,
As for me, I am testing the related
barcode fonts add-in these days. Do you have any ideas about it? Or any good suggestion? I am totally a green hand on barcode generating field. Any suggestion will be appreciated. Thanks in advance.


Best regards,
Arron

 Forum: Support   Topic: PDFSharp support Chinese, Spanish?

Posted: Thu Feb 20, 2014 9:45 am 

Replies: 3
Views: 6015


Support for CJK and Arabic is on the roadmap, but we do not know yet when implementation will begin.

 Forum: Support   Topic: Does PDFsharp support for Arabic, Hebrew, Farsi (Chinese etc

Posted: Wed Nov 20, 2013 4:06 pm 

Replies: 2
Views: 5526


No RTL support yet.

Hebrew seems to work for single-line texts if you reverse the strings yourself.

 Forum: Support   Topic: Does PDFsharp support for Arabic, Hebrew, Farsi (Chinese etc

Posted: Wed Nov 20, 2013 3:05 pm 

Replies: 2
Views: 5526


Not yet with PDFsharp 1.30. Right-to-left languages are not yet supported. Only simple languages like English or German are supported, with an easy one-to-one relationship between characters and glyphs. Is this still so for version 1.32? If not how can I write a text with Right to left direction in ...

 Forum: Support   Topic: Arabic RTL

 Post subject: Re: Arabic RTL
Posted: Wed Nov 14, 2012 12:46 pm 

Replies: 2
Views: 5312


Thomas Hoevel wrote:
Not yet supported by PDFsharp or MigraDoc.


NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

 Forum: Support   Topic: Arabic RTL

 Post subject: Re: Arabic RTL
Posted: Wed Nov 14, 2012 12:19 pm 

Replies: 2
Views: 5312


Not yet supported by PDFsharp or MigraDoc.

 Forum: Support   Topic: Arabic RTL

 Post subject: Arabic RTL
Posted: Wed Nov 14, 2012 11:24 am 

Replies: 2
Views: 5312


How can I write a text in Arabic RTL (Right to Left) ?

Thanks

 Forum: Support   Topic: direction rtl

 Post subject: Re: direction rtl
Posted: Tue Aug 28, 2012 9:52 am 

Replies: 4
Views: 5313


... don't know if this will look correct. It won't look correct if the shape of a character depends on its neighbours (this trick will not work for Arabic characters). It'll probably look correct if the shape of the character does not depend on its neighbours.

 Forum: Feature Request   Topic: Arabic support

 Post subject: Re: Arabic support
Posted: Mon Apr 30, 2012 8:50 am 

Replies: 23
Views: 105067


Hello, the only problem I see is that PDFSharp does no line wrap when the end of the (visible) line is reached and there is no spacing character like blank or tab. As in Japanese no spaces are used the full text cannot be read. All is printed in one line. This is also a problem if e.g. a hyperlink t...

 Forum: Feature Request   Topic: Arabic support

 Post subject: Re: Arabic support
Posted: Tue Nov 22, 2011 10:56 am 

Replies: 23
Views: 105067


I've been trying to get chinese glyphs into a pdf trough pdfSharp, WITH SUCCESS! It semes like this is a matter of selecting the right font. The "Arial Unicode MS" is a font with 50.377 glyphs, and includes what I understand most languages. What I think is missing is pdfSharp is some fallb...

 Forum: Feature Request   Topic: Hindi pdf

 Post subject: Re: Hindi pdf
Posted: Mon Nov 21, 2011 2:51 pm 

Replies: 1
Views: 8745


PDFsharp does not yet support Arabic, Hebrew, CJK. Maybe we have to add Hindi to that list.
Sorry, but languages where the shape of a character depends on the neighboring characters are not yet implemented.

 Forum: Feature Request   Topic: Arabic support

 Post subject: Re: Arabic support
Posted: Wed Jul 13, 2011 5:32 pm 

Replies: 23
Views: 105067


Dear Support!

Is any update for Chinese language?

BRGDS
Grzegorz Pawluch

 Forum: Feature Request   Topic: Arabic support

 Post subject: Re: Arabic support
Posted: Mon Apr 11, 2011 6:41 pm 

Replies: 23
Views: 105067


Is there any work around in this area such as converting Japanese text into image and then display using pdfsharp ?

 Forum: Feature Request   Topic: Arabic support

 Post subject: Re: Arabic support
Posted: Mon Apr 11, 2011 5:35 pm 

Replies: 23
Views: 105067


Any update on the languages such as Chinese, Korean, Japanese supports ? I am using PDFSharp to replace our existing reports but having issues with Japanese charaters.

 Forum: Support   Topic: Arabic text draw problem

Posted: Sun Aug 08, 2010 8:52 am 

Replies: 1
Views: 3766


jccapps wrote:
I believe read in another post that there is some problem with Arabic text.

That's not my area of expertise.
PDFsharp doesn't yet support right-to-left character sets.

 Forum: Support   Topic: Arabic text draw problem

 Post subject: Arabic text draw problem
Posted: Thu Aug 05, 2010 2:14 pm 

Replies: 1
Views: 3766


I am currently having some problems drawing with Arabic text. If I use the DrawString() approach of drawing the text then everything looks correct (I can't read Arabic but it matches the bitmap of what the client said it should look like). However, ...

 Forum: Feature Request   Topic: Arabic support

 Post subject: Re: Arabic support
Posted: Wed Apr 28, 2010 2:12 pm 

Replies: 23
Views: 105067


Hi, Arno! Out of curiosity, does this problem still exist, and what is the problem with rendering these characters? <quote>Languages like Arabic cannot yet be created even with Unicode fonts.</quote> The shape of a character depends on its neighbours. This is not yet implemented. And RTL (Right-to-Left) ...

 Forum: Feature Request   Topic: Arabic support

 Post subject: Re: Arabic support
Posted: Tue Apr 27, 2010 7:39 am 

Replies: 23
Views: 105067


Hi, I do speak arabic and willing to participate in supporting it in PDFSharp :D The shape of a character depends on its neighbours. This is not yet implemented. And RTL (Right-to-Left) support is not yet implemented either. And ...

 Forum: Feature Request   Topic: Arabic support

 Post subject: Re: Arabic support
Posted: Tue Jan 19, 2010 9:29 am 

Replies: 23
Views: 105067


Reed wrote:
I think the cause is the font glyph is not embeded in? is it?

The Tahoma font that comes with Windows XP has no Chinese characters.

 Forum: Feature Request   Topic: Arabic support

 Post subject: Re: Arabic support
Posted: Tue Jan 19, 2010 8:22 am 

Replies: 23
Views: 105067


I am trying to do something.
currently it can accept Tahoma. but in the output the Chinese character can't be displayed.
I think the cause is the font glyph is not embeded in? is it?

 Forum: Feature Request   Topic: Arabic support

 Post subject: Re: Arabic support
Posted: Tue Sep 01, 2009 2:25 pm 

Replies: 23
Views: 105067


Wow, that’s a fast reply. And also part of the problem: we can't read neither Arabic nor Chinese. We need someone who can and who will tell us what's wrong and what's right. I can see how that would be a problem :) Unfortunately i’m not able to read them either. ...

 Forum: Feature Request   Topic: Arabic support

 Post subject: Re: Arabic support
Posted: Tue Sep 01, 2009 1:26 pm 

Replies: 23
Views: 105067


Hi, Arno! Out of curiosity, does this problem still exist, and what is the problem with rendering these characters? <quote>Languages like Arabic cannot yet be created even with Unicode fonts.</quote> The shape of a character depends on its neighbours. This is not yet implemented. And RTL (Right-to-Left) ...

 Forum: Feature Request   Topic: Arabic support

 Post subject: Re: Arabic support
Posted: Tue Sep 01, 2009 1:03 pm 

Replies: 23
Views: 105067


... I'm currently also working on a program that prints reports using PDFsharp. PDFsharp works great, but my program should also be able to work with Arabic and Chinese languages. Does implementing the support for these languages have some kind of priority at the moment? Or do you have it planned ...

 Forum: Support   Topic: UTF8 and no latin chars problem

Posted: Fri Jul 10, 2009 2:32 pm 

Replies: 6
Views: 8155


... is not printed correctly on pdf with the same font. Other thing... At the moment I tested only the russian string, but I can have any language (arabic, china, korean...). I don't think that is a problem font, the standard font installed on windows should support already that charset.

 Forum: Feature Request   Topic: Arabic support

Posted: Thu Oct 30, 2008 12:14 pm 

Replies: 23
Views: 105067


The current implementation of PDFsharp is limited to left-to-right languages. Languages like Arabic cannot yet be created even with Unicode fonts. Also the so called CJK (Chinese, Japanese, Korean) support in PDF can also not be addressed with PDF sharp. However, we plan ...

 Forum: Feature Request   Topic: Arabic support

 Post subject: Arabic support
Posted: Mon Oct 20, 2008 2:38 pm 

Replies: 23
Views: 105067


How can i write pdf in arabic language
Sort by:  
Page 1 of 1 [ Search found 48 matches ]


All times are UTC


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