Unicode bold font

Unicode bold font

Forum member · May 31, 2013
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

Re: Unicode bold font

Support · May 31, 2013
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.

Re: Unicode bold font

Forum member · May 31, 2013
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.

Re: Unicode bold font

Support · May 31, 2013
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.