Hi,
  Here i'm trying you to help in alternative approach.But for that you have
to use Unicode.I've added the code snippet if it helps.
TeluguFont.java
<http://itext-general.2136553.n4.nabble.com/file/n4657260/TeluguFont.java>  
Here i,m just created a base font (.ttf file located in D:/ drive you can
change path if neccessary,Identity_H used for keep the glyph as it is
horizontally.When you use this Identity_H/Identity_V itext default embed it
whatever you mention as third argument).
>BaseFont f = BaseFont.createFont("D:\\gautami.ttf", BaseFont.IDENTITY_H,
BaseFont.EMBEDDED);
Next created a normal font based on previous BaseFont.
>Font normal = new Font(f, 6.0f, Font.NORMAL);
If font embeded correctly when you open Pdf,press CTRL+D,goes to Font Tab,As
Following..
TeluguFont.bmp
<http://itext-general.2136553.n4.nabble.com/file/n4657260/TeluguFont.bmp>  
TeluguFont.bmp
<http://itext-general.2136553.n4.nabble.com/file/n4657260/TeluguFont.bmp>  
But here the gap:
You have to convert DecimalNCR(&#3125;&#3149;&#3119;&#3125;&#.....) to
unicode(\u0C35\u0C4D\u0C2F\u0C35\u0C3......) code point.
Another thing to say you don't mention how you manipulate those pdf in which
you want to embed Telegu Font.Approach is shown here for creating Document &
adding Phrase...etc.If you are using Template then in PdfStamper you have to
stmp.getAcroFields().addSubstitutionFont(f);for telegu Language.Here f is
same BaseFont used in previous approach.





--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/how-to-display-telugu-font-by-using-itext-pdf-tp4657222p4657260.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. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
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