While developing the Crystal Reports for Arabic language, I encountered the problem that if the Arabic text contains special characters like open/close parenthesis "()"
, square brackets "[]"
or angle brackets "<>"
etc., then it was not showing that text correctly while printing the reports. In this post I share what I did to fix my problem, in case if some one else encounter similar problem can benefit from.
For example, I have a text-object. Before setting this option, it was displaying text as follows:
To fix this formatting issue, please follow these steps:
-
First right click on
Text-Object
and click on option"Format Object"
. -
Go to
Paragraph
Tab. -
In the
Reading order
section, check the optionRight to Left
. As shown below:
And its done. Now it should print the reports with special characters in appropriate state for RTL languages. As my text-object now display this way:
This will not work in all the cases.
ReplyDeletePlease mention the case where it will not work. It may help other readers.
Delete