suri,

suri wrote
> my problem is exporting the content which is already drawn on JCanvas to
> PDF by using Graphics object.

If you want to export your content as pure drawing, you might want to
instatiate your Pdf(Printer)Graphics2D object using a constructor with the
boolean "onlyShapes" parameter (value "true"). This way iText does not need
to know the font in more detail.

If on the other hand you want the text in your exported content to be
selectable and copy&pastable in the PDF, you have to use a FontMapper as
iText Info told you. For details cf. chapter 14 in iText in Action, 2nd
edition.

Regards,   Michael



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Local-Language-problem-occuring-while-printing-to-pdf-tp4657412p4657430.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to