eyad almasalkhi wrote:
> Hi h r u
> as I read a bout itext in the lowagie.com, the itext support arabic data
> but I used it and i found it doesn't support arabic.

The following PDF generated with iText proves that
your statement about iText not supporting Arabic is wrong:
http://itext.ugent.be/itext-in-action/examples/chapter09/results/ligatures2.pdf
This PDF is one of the samples of the book iText in Action.
The following code snippet shows you how it is done:
http://itext.ugent.be/itext-in-action/examples/chapter09/Ligatures2.java

> I use it with Birt reporter(Eclipse), so when i call itext.jar to
> convert my report, which contains arabic  data as unicode, into pdf I
> find the reversed characters.
> I will give an example by using english lang:
> when I have the word "exam", after the conversion i have the word "maxe".
> the problem with arabic language is more complex than english.

We know about that.
In the sample PDF the Arabic version of 'Lawrence of Arabia'
is spelled backwards. Even if we change the order of the glyphs,
the text is still not correct, because we need to make ligatures.
iText knows how to make these ligatures as you can see in the
third line. iText has lots of special features concerning Arabic.

> I try all the fonts and try to change the direction but nothing solve.
> also when I use arabic data without unicode I found nothing in the pdf report
> the data don't appear and i saw the white paper only

You assume that iText doesn't support Arabic because BIRT
probably doesn't provide a means to set the RTL-parameters
that tell iText text should be written from right to left.

In my schedule I have planned to download the BIRT source
code in order to solve issues like this, but I won't have
the time to do that until next year.

Meanwhile you should turn to the BIRT mailinglists.
Tell them that iText supports Arabic, but that you don't
know how to set the Arabic parameters when using BIRT.

br,
Bruno

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to