By Date: <-- -->
By Thread: <-- -->

question about arabic support



You can use ColumnText.showTextAligned(), it has support for RTL.

> -----Original Message-----
> From: itext-questions-admin (at) lists.sourceforge.net 
> [mailto:itext-questions-admin (at) lists.sourceforge.net] On 
> Behalf Of Bruno Lowagie
> Sent: Monday, February 06, 2006 9:36 AM
> To: aly noor; 'itext-questions (at) lists.sourceforge.net'
> Subject: Re: [iText-questions] question about arabic support
> 
> aly noor wrote:
> 
> >Dear \ Bruno
> > first i'm sorry if my english language is weak.
> >  
> >
> I don't understand arabic, so I can't see which of the documents you 
> have sent me shows correct arabic sentences and which one 
> shows them the 
> other way round. I also don't have the time to inspect the 
> PDF to find out.
> 
> >i was use method showTextAligned() from class
> >PdfContentByte to do that but it does no support Arabic 
> direction (Right to
> >Left)
> >  
> >
> OK, so you shouldn't use that method.
> 
> >now the method addText() in class ColumnText do the reverse .
> >  
> >
> You can define the correct run direction when using ColumnText.
> So this is the way to go.
> 
> >can you help me to write data which may be including arabic data in
> >determined positions to the PDF File
> >
> ???
> What more is there to know?
> You have all the information you need in the tutorial.
> - Create the ColumnText object
> - set the correct rundirection
> - add a paragraph with the correct alignment (I'd use addElement() 
> instead of setText())
> - define the 'determined positions' by defining one single column
> - call go()
> 
> br,
> Bruno
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep 
> through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  
> DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&;
dat=121642
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions