Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Mon Nov 25, 2019 4:04 am

Hello,

I am using Free Spire.PDF. I am able to embed "Hindi" fonts named "Mangal". But, half letters are not shown as joined letters. i.e. लीस्ट is shown as "ली स् ट" i.e. स् and ट doesn't get joined.

ghet1502
 
Posts: 8
Joined: Mon Nov 25, 2019 3:57 am

Mon Nov 25, 2019 6:25 am

Hi,

Thanks for your inquiry.
After testing with the latest Spire.PDF Pack(Hot Fix) Version:5.11.2, I didn't find the issue you mentioned. Here is my testing code and attached is my result file.
Code: Select all
            PdfDocument doc = new PdfDocument();
            PdfPageBase page = doc.Pages.Add();
            Rectangle rec = new Rectangle(new Point(10, 20), new Size(300, 300));

            PdfSolidBrush brush = new PdfSolidBrush(Color.Black);
            PdfTrueTypeFont font = new PdfTrueTypeFont(new Font("Mangal", 15F, FontStyle.Regular), true);
            page.Canvas.DrawString("लीस्ट", font, brush, rec);

            doc.SaveToFile("T19714.pdf");


Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Mon Nov 25, 2019 7:06 am

But I use FreeSpire.PDF. So will this hotfix work for me? also, my .net target framework is 4.5. So, in bin folder spire.pdf it is not available for the same.

ghet1502
 
Posts: 8
Joined: Mon Nov 25, 2019 3:57 am

Mon Nov 25, 2019 9:33 am

Hi,

I just tested your case with Free Spire.PDF for .NET Version:5.10, and also could generate correct PDF. Please try the code I provided. If you still have the issue, provide your input file(if any) and the code you were using as well as output PDF you got.
Yes, we don't have .NET4.5 dlls of Spire.PDF, but you could use the low version(e.g. NET4.0 dlls) in your project.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Wed Nov 27, 2019 5:25 am

Hello.

I converted my project to .net 4.6 and used hotfix provided by you. Here is the code.

public void generateList()
{
PdfDocument doc = new PdfDocument();
PdfPageBase page = doc.Pages.Add();
Rectangle rec = new Rectangle(new Point(10, 20), new Size(300, 300));

PdfSolidBrush brush = new PdfSolidBrush(Color.Black);
PdfTrueTypeFont font = new PdfTrueTypeFont(new Font("Mangal", 15F, FontStyle.Regular), true);
page.Canvas.DrawString("लीस्ट", font, brush, rec);

string pdffilepath = Server.MapPath("~/data/list") + "/AexList.pdf";
doc.SaveToFile(pdffilepath);
System.Diagnostics.Process.Start(pdffilepath);
}

Have attached pdf generated.

ghet1502
 
Posts: 8
Joined: Mon Nov 25, 2019 3:57 am

Wed Nov 27, 2019 7:54 am

Hi,

Thanks for your feedback.
Do you still have the issue? I checked your result file and found it showed correctly.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Wed Nov 27, 2019 9:02 am

Yes... still have an issue. The image you have attached is not the way I need. I need it as "लीस्ट". But it takes half letter as "स्", as attached by you in image.

ghet1502
 
Posts: 8
Joined: Mon Nov 25, 2019 3:57 am

Wed Nov 27, 2019 9:28 am

Hi,

Sorry for my misunderstanding.
Now I have logged the issue in our bug tracking system. We will let you know once there is any update.
Apologize for the inconvenience.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Thu Nov 28, 2019 7:01 am

Ok. thank you very much for logging the issue. Will be waiting for the response.

ghet1502
 
Posts: 8
Joined: Mon Nov 25, 2019 3:57 am

Mon Dec 09, 2019 4:48 am

Hello....

any updates on this?

ghet1502
 
Posts: 8
Joined: Mon Nov 25, 2019 3:57 am

Mon Dec 09, 2019 6:12 am

Hi,

Sorry that your issue is not resolved yet. We does not understand hindi, and we need more time to investigate it.
Anyway, if there is any good news, we will let you know.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Tue Dec 17, 2019 4:22 am

Hello

I understand. But, still hope that it will be resolved. Just wanted to tell that If I type same word in MS word and then export it to pdf, it gives me proper result in pdf.

ghet1502
 
Posts: 8
Joined: Mon Nov 25, 2019 3:57 am

Tue Dec 17, 2019 5:51 am

Hi,

I got information from our Dev team that sorry we don't find a solution for the issue due to its complexity at present. I am afraid it cannot be fixed in a short time. Anyway, if there is any good news in the future, we will let you know.
Sorry for the inconvenience caused.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Mon Dec 23, 2019 8:58 am

Hello

Thanks for looking into the issue. I am still in hope that your team solve this. In MS word if we type such word and export to pdf, it gives proper result. So, if you can find any clue from that please incorporate the same in Sprire.PDF.

ghet1502
 
Posts: 8
Joined: Mon Nov 25, 2019 3:57 am

Mon Dec 23, 2019 9:13 am

Hi,

Our Dev team will try their best to find a solution. If there is any good news in the future, we will let you know.
Apologize for the inconvenience caused.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.PDF

cron