Discussion:
[iText-questions] how to display telugu font by using itext pdf
NVS
2013-01-01 07:59:50 UTC
Permalink
Hi,

The data in the database is in the format like
వ్యవసాయ శాఖ,
శాఖాధిపతి

with the support of gautami.ttf corresponding telugu font displaying in
word doxuments, but not in pdf...

Can any one please help on this....


Prasad.
Paulo Soares
2013-01-01 10:44:09 UTC
Permalink
Tomorrow you'll have something in the SVN to support this.

Paulo
Post by NVS
Hi,
The data in the database is in the format like
వ్యవసాయ శాఖ,
శాఖాధిపతి
with the support of gautami.ttf corresponding telugu font displaying in
word doxuments, but not in pdf...
Can any one please help on this....
Prasad.
------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
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
NVS
2013-01-04 10:08:33 UTC
Permalink
Hi,

I did not get any response again, could you please help on this.
Post by Paulo Soares
Tomorrow you'll have something in the SVN to support this.
Paulo
Post by NVS
Hi,
The data in the database is in the format like
వ్యవసాయ శాఖ,
శాఖాధిపతి
with the support of gautami.ttf corresponding telugu font displaying in
word doxuments, but not in pdf...
Can any one please help on this....
Prasad.
------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
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 SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
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
pgandhi
2013-01-07 15:20:53 UTC
Permalink
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.
NVS
2013-01-17 13:26:38 UTC
Permalink
Hi,

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 pgandhi
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>
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.
--
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
Paulo Soares
2013-01-17 15:47:47 UTC
Permalink
Indic support is still under development. The scripts supported are
Devanagari and Gujarati, no Telugu for the moment.

Paulo
Post by NVS
Hi,
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 pgandhi
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>
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.
--
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
blowagie
2016-12-30 14:04:26 UTC
Permalink
The solution to display Telegu is to use the pdfCalligraph add-on.

If you want the academic explanation, see:
https://git.itextsupport.com/projects/TMC/repos/techblog/browse/pdfCalligraph%20whitepaper.md
If you want the marketing explanation, see:
http://itextpdf.com/itext7/pdfcalligraph
If you just want to know how pdfCalligraph works, read:
http://developers.itextpdf.com/content/itext-7-building-blocks/chapter-2-working-rootelement
(search for pdfCalligraph)



--
View this message in context: http://itext.2136553.n4.nabble.com/how-to-display-telugu-font-by-using-itext-pdf-tp4657222p4661119.html
Sent from the iText mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
iText-questions mailing list
iText-***@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
blowagie
2016-12-30 14:04:50 UTC
Permalink
The solution to display Telegu is to use the pdfCalligraph add-on.

If you want the academic explanation, see:
https://git.itextsupport.com/projects/TMC/repos/techblog/browse/pdfCalligraph%20whitepaper.md
If you want the marketing explanation, see:
http://itextpdf.com/itext7/pdfcalligraph
If you just want to know how pdfCalligraph works, read:
http://developers.itextpdf.com/content/itext-7-building-blocks/chapter-2-working-rootelement
(search for pdfCalligraph)



--
View this message in context: http://itext.2136553.n4.nabble.com/how-to-display-telugu-font-by-using-itext-pdf-tp4657222p4661120.html
Sent from the iText mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
iText-questions mailing list
iText-***@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
Loading...