Quantcast

Hindi unicode PDF files are not displaying properly

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Hindi unicode PDF files are not displaying properly

kailas.elekar
I want to generate PDF file for "Hindi" uniocde text
it shows simple hindi character in PDF but when word consist of halant uniocde character 094D it shows wrong word in PDF display, I am using mangal font which is with XP
kailas

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Hindi unicode PDF files are not displaying properly

blowagie
[hidden email] wrote:

> I want to generate PDF file for "Hindi" uniocde text
> it shows simple hindi character in PDF but when word consist of halant
> uniocde character 094D it shows wrong word in PDF display, I am using
> mangal font which is with XP

iText has difficulties making correct ligatures in Hindi; see:
http://itext.ugent.be/itext-in-action/examples/chapter12/results/hindi.pdf
No developer from India has helped us by contributing code that
solves this problem; I you can help us you are very welcome.
If you don't have the time, or don't want to do this for free, you
could work around the problem using PdfGraphics2D:
http://itext.ugent.be/itext-in-action/examples/chapter12/HindiExample.java
best regards,
Bruno

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Hindi unicode PDF files are not displaying properly

Prasanna Joshi
This post has NOT been accepted by the mailing list yet.
Hello,

Even I used iText APi to generate PDF. the Font I have used is Mangal Font and UTF-8 for file encoding.

Source Text : Cargo (कार्गो)
Target Text on PDF I see : Caargo (कार््गो)

I see disjointed characters where joint words are used.

I created an instance of BaseFont for using Mangal and referred it for generating PDF.

BaseFont bfont = BaseFont.createFont("C:\\......\\Received Files\\MANGAL.ttf", BaseFont.IDENTITY_H, BaseFont.EMBEDDED);

1) Am I missing some setting or using incorrect font?

Kindly assist.

Prasanna Joshi
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Hindi unicode PDF files are not displaying properly

patelmitesha@gmail.com
This post has NOT been accepted by the mailing list yet.
same problem with BIRT report..  it is showing correct output in html / word document but when exporting into PDF... same problem occurs..

Source Text : Cargo (कार्गो)
Target Text on PDF I see : Caargo (कार््गो)

Kindly help me
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Hindi unicode PDF files are not displaying properly

blowagie
This post has NOT been accepted by the mailing list yet.
It's company policy not to accept questions from people who aren't registered on the mailing-list (see http://lowagie.com/nabble and the warning you get when posting this question on Nabble).
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Hindi unicode PDF files are not displaying properly

patelmitesha@gmail.com
Thank you

"blowagie [via iText - General]" <[hidden email]> wrote:
It's company policy not to accept questions from people who aren't registered on the mailing-list (see http://lowagie.com/nabble and the warning you get when posting this question on Nabble).


If you reply to this email, your message will be added to the discussion below:
http://itext-general.2136553.n4.nabble.com/Hindi-unicode-PDF-files-are-not-displaying-properly-tp2145629p4657478.html
To unsubscribe from Hindi unicode PDF files are not displaying properly, click here.
NAML
Loading...