Indic support is still under development. The scripts supported are
Devanagari and Gujarati, no Telugu for the moment.
Post by NVSHi,
Please help
The browser displays the corresponding telugu font for the code
: \u0C35\u0C4D\u0C2F\u0C35\u0C38\u0C3E\u0C2F \u0C36\u0C3E\u0C16,
\u0C36\u0C3E\u0C16\u0C3E\u0C27\u0C3F\u0C2A\u0C24\u0C3F is :: à°µà±à°¯à°µà°žà°Ÿà°¯
à°¶à°Ÿà°, à°¶à°Ÿà°à°Ÿà°§à°¿à°ªà°€à°¿
but in itext pdf by embed the gautami font, it displays like below
[image: Inline image 1]
but it should be display like à°µà±à°¯à°µà°žà°Ÿà°¯ à°¶à°Ÿà°, à°¶à°Ÿà°à°Ÿà°§à°¿à°ªà°€à°¿. So please help to
display correct format.
Post by pgandhiHi,
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>
You have to convert DecimalNCR(వ్యవ&#.....) 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.
--
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
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
iText-questions mailing list
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/
http://itextpdf.com/themes/keywords.php
------------------------------------------------------------------------------
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
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
iText-questions mailing list
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/
http://itextpdf.com/themes/keywords.php