Unicode bold font

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for .NET (v6)  /  Re: Unicode bold font

DynamicPDF CoreSuite for .NET (v6) Forum

 May 31 2013 2:53 AM
We are using Arial Unicode MS font to display unicode text, however that font only consists of a single file "arialuni.ttf" and does not have a  separate bold font file. We workaround it by using the Arial's bold font definition "arialbd.ttf" when needed but this creates problems with Asian languages.

Is there a way to let DynamicPDF create bold versions of fonts?

Thanks in advance
 May 31 2013 5:03 AM
Posted by a ceTe Software moderator
Hello,

You will need build separate Font objects using the respective font file paths and use it in your application. Our DynamicPDF API adds the text to the PDF with the specified font. You will need to use the desired font to add he text and if you would like to use the different fonts then you can build font family and add it to the PDF using FormattedTextArea using font tag.  You can refer documentation on FormattedTextArea here and also you can refer supported HTML tags by our DynamicPDF Generator product API here.

Thanks,
ceTe Software Support Team.
 May 31 2013 5:51 AM
Just to check if I understood correctly. We cannot pass a regular font and tell DynamicPDF to make it bold, is that correct?

We are already passing multiple font files, however, Arial Unicode MS font does not have a bold font file, so we pass Arial Bold as bold font and therefore we cannot display Asian language text in PDF document.

I'm trying to ensure that there is no way to do this in DynamicPDF (either built in or as a separate plugin/component) before looking for another resolution.
 May 31 2013 8:59 AM
Posted by a ceTe Software moderator
Hello,

Yes, it is not possible to pass a regular font and make the text bold using our DynamicPDF product API. The DynamicPDF API sets the respective font to the text which you are using in your application.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 1:00 AM.