dorairaj wrote:
> I am creating the pdf page by using the source as jpanel,
> i have data which may contains unicode characters to draw on jpanel
> similary i am drawing the same text on pdf page by using the pdfGraphics2D
> object
> 
> the Graphics2D object is created like this
> 
> PdfTemplate localTemplate = localContentPane.createTemplate(localWidth,
>                       localHieght);
> Graphics2D localGraphics2D = localTemplate.createGraphics(localWidth,
> localHieght,
>                       localMapper);
> 
> 
> here i am unable to see the unicode characters in the pdf page but able to
> see character which not uncode type.

Why don't you read the examples?
http://itextpdf.com/examples/index.php?page=toc&id=14

> may be the problem with fonts convertion from FontMapper.awtToPdf() is
> failed to load the exact font.
> but in jpanel uncode text drawing works great.
> 
> how to make my pdf page as uncode support.

There are many different ways. This is one of them:
http://itextpdf.com/examples/index.php?page=example&id=260
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to