smsm kw wrote:
> i want to add arabic font but when i did that by using this line :
>
> BaseFont bfComic =
> BaseFont.CreateFont("D:\\windows\\fonts\\aswaq_tahoma_base.ttf",
> BaseFont.CP1250 , BaseFont.EMBEDDED);
>
> Font font = new Font(bfComic, 12);
>
> i got a wrong result (rubbish result)
>
Arabic is written from right to left and has ligatures.
You can only use Arabic fonts in combination with
PdfPTable, (Multi)ColumnText and PdfContentByte;
you can change the run-direction of these objects,
as well as some Arabic options.
There are some examples in the tutorial.
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