Bidi in DynamicPDF

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Generator for Java (v3 and older)  /  Bidi in DynamicPDF

DynamicPDF Generator for Java (v3 and older) Forum

 Jul 03 2008 7:29 AM
Hi!

I have problem with correcting display arabic and hebrew strings in PDF. Label and TextArea doesn't display as this should by unicode bidirectional algorithm. May be you know way for solve this problem?

Best regards,
Andrew.
 Jul 03 2008 7:56 AM
Posted by a ceTe Software moderator
Hello Andrew,

You can add Arabic and Hebrew text to PDF documents without any problem. In order to use the Arabic and Hebrew characters you will have to use a TrueType or Type1 font which has support for the Arabic and Hebrew characters. You can refer to our  TrueTypeFont on our help documentation.

You will have to use the RightToLeft property of the Label or TextArea to show the text from right to left.

What exact problem are you having? Please be more specific on the problem you are having?

Thanks,
ceTe Software Support Team.
 Jul 03 2008 10:38 PM
Hi!

I have problem when RTL characters as a part of string with LTR direction. When I call setRightToLeft(true) then this method is apply for all string.

Best regards,
Andrew.
 Jul 04 2008 4:53 AM
Posted by a ceTe Software moderator
Hello Andrew,

It is not possible to set right to left behavior to individual set of characters or words with in a string. You will have to add separate labels and add the labels to required positions using X and Y coordinates.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 1:55 PM.