Hindi characters

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Generator for .NET (v6.x)  /  Display Thread

DynamicPDF Generator for .NET (v6.x) Forum

 Mar 19 2014 3:50 PM
Hi.

I am having some issues when trying to render a PDF which contains Hindi characters. Is there something I need to consider? I've looked through the documentation and the forum as well, and I don't see how to make it work. Is there any example you can provide that allows me to see how I should set the Font or Label objects so the content is displayed correctly?

Thanks!
 Mar 20 2014 4:53 PM
Posted by a ceTe Software moderator
Hello,

Please email over the following information to our support team at support@cete.com so we can get a better idea as to what you have tried so far. Based on this info we will be able to answer your questions accurately and/or point you in the right direction.

1. PDF Output.
2. Code used.
3. Open type or true type font files (if any) used.
4. Version & build numbers of DynamicPDF dll used.

Thanks,
ceTe Software Support Team.
 Jul 30 2015 11:53 AM
Hi,
Can you please provide an example of how to use Hindi / Thai characters? What are the fonts should be used?

Regards.
 Jul 30 2015 4:32 PM
Posted by a ceTe Software moderator
Hello,

Currently the DynamicPDF for .NET API does not support Thai and Indic language characters. We have added this feature to our wish list for consideration and at this time we don’t have an exact time line on when this feature will be available.

Thanks,
ceTe Software Support Team.
 Jul 31 2015 5:12 AM
Hi,

This is a huge setback for us. We must have Hindi characters.

When should it be available? If not soon, we'll, unfortunately, have to move to another solution.

Out of curiosity: what's so complicated in implementing Hindi characters?

Regards.
 Aug 03 2015 3:39 PM
Posted by a ceTe Software moderator
Hello,

Languages like Thai & Hindi require complex scripting or complex text layout (CTL) where the shape and position of a character changes depending on its relation to other characters. This adds a lot of complexity to the implementation.

Our development team is considering support for CTL languages. However, implementing CTL is a very complex task and will take a lot of time. At this time we do not have a specific time frame on when support for CTL languages will be available.

Thanks,
ceTe Software Support Team.
 Aug 09 2015 7:54 AM
Hello,
Thanks for your reply.

What we did is the following: checked if input text contains Thai and if yes use Thai's open type font (example code below).
It works fine. What are we missing?


Example code:
if (Regex.IsMatch(InputValue, @"\p{IsThai}"))
{
        ceTe.DynamicPDF.Font InputFont = new                                         ceTe.DynamicPDF.Text.OpenTypeFont("ANGSAU.TTF");

        ceTe.DynamicPDF.PageElements.Label l = new                 ceTe.DynamicPDF.PageElements.Label
                (InputValue, InputX, InputY, InputWidth, InputHeight,                 InputFont);
}

Regards.
 Aug 11 2015 2:22 PM
Posted by a ceTe Software moderator
Hello,

It is possible that the specific font (ANGSAU.TTF) you are using may not be using complex text layout in which case that font may work.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 9:41 AM.