We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Support RTL (Arabic)

Thread ID:

Created:

Updated:

Platform:

Replies:

123883 Apr 28,2016 07:33 PM May 4,2016 08:06 AM WinRT 3
loading
Tags: PDF
Taher A. AlZahrani
Asked On April 28, 2016 07:33 PM

HI,

I faced a problem generating pdf document that has arabic text in it. Since SF PDF does not support RTL for the moment, my friend and I were able to come with a solution for supporting Arabic language.

you can find the solution on github repo:
https://github.com/taherz/SFPdf_RTLLanguageSupport

you can clone the solution and please share if you have any suggestions or enhancement.

Supported Language

  • Arabic

Known Issues

  • it does not support all the fonts
  • some of supported fonts it does not support the text with Tashkeel
  • (Warping issue) when the long line of text get warped, it write the lines as it is but from last to first so that the last line will be the first line in the paragraph and the first line will be the last line in the paragraph.

How it works

  • it take the Arabic text word by word, each word takes its letters and draw them according to each letter position within the word.(Beginning, Middle, End, Isolated)
  • each position of each letter has its own Unicode character drawing.

many thanks to Bader Alghamdi.

Praveenkumar H [Syncfusion]
Replied On April 29, 2016 06:00 AM

Hi Alzahrani, 

Thank you for your solution to draw Arabic text in PDF document. 

We are currently analyzing your solution to meet our standard so we will include the solution in our product according to the analysis.  

Please let us know if you need further assistance. 

With Regards, 
Praveen 


Taher A. AlZahrani
Replied On May 3, 2016 11:06 AM

Hi Alzahrani, 

Thank you for your solution to draw Arabic text in PDF document. 

We are currently analyzing your solution to meet our standard so we will include the solution in our product according to the analysis.  

Please let us know if you need further assistance. 

With Regards, 
Praveen 


Hi Praveenkumar H,
just let me know if you are going to include it in your product and if there is any enhancement to the solution

you can find the sample solution on OneDrive (Click Here)

Best Regards,
Taher


Praveenkumar H [Syncfusion]
Replied On May 4, 2016 08:06 AM

Hi Taher, 

The given solution is only working for Arabic languages , we are currently analyzing a generic solution to include support for all the RTL languages, so we don’t have plans to include this solution in our product now. 
However we will publish this solution as a workaround in our KB to preserve the Arabic languages. 

Please let us know if you need further assistance. 

With Regards, 
Praveen 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;