other tip: iText uses only Stream to read and write PDF contents. It
is fine but forces the user to pre-process any character not compliant
with Unicode ...

Check if your characters are fine in memory. If not, you cannot fix
that, otherwise, use a Writer..


On 8/8/07, Paulo Soares <[EMAIL PROTECTED]> wrote:
> iText can't shape Indic languages, only Arabic.
>
> Paulo
>
> ----- Original Message -----
> From: "Raquib Mahmood Shoeb" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Wednesday, August 08, 2007 10:43 AM
> Subject: [iText-questions] Urgent:Bangla unicode font not displaying
> properly
>
>
> > Hi,
> > We are using iText2.0 for generating pdf which contain bangla unicode
> > font.
> > The problem is the pdf is not showing bangla characters properly.It
> > displays
> > some words correctly and some are not.
> > When i text from this document and paste it to word it showing properly.
> > My code for generating pdf is
> >            BaseFont baseFont =BaseFont.createFont
> > ("C:\\WINDOWS\\FONTS\\SolaimanLipi.ttf",BaseFont.IDENTITY_H,
> > BaseFont.EMBEDDED);
> >
> >            Font f = new Font(baseFont,14);
> >
> >            PdfWriter writer = PdfWriter.getInstance(document, new
> > FileOutputStream("TestUnicode.pdf"));
> >
> >            document.open();
> >
> >            document.add(new Paragraph(name,f));
> >
> >
> > Thanks
> > Raquib Mahmood Shoeb
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to