Chinese Italic Text

Chinese Italic Text

Forum member · Mar 14, 2014
Hi, I want to display chinese text in italic format in pdf. How can i display chinese text in italic format in pdf.

Re: Chinese Italic Text

Support · Mar 14, 2014
Hello, In order to add Chinese text with italic style to PDF, you will need to use the respective font which has support for the Chinese text and italic style. You can create OpenTypeFont object using the font file path and use this font object to set it to the page elements. Please refer to the documentation on OpenTypeFont class here . Thanks, ceTe Software Support Team.

Re: Chinese Italic Text

Forum member · Mar 18, 2014
Hi, I use Arial Unicode MS font as OpenTypeFont to display chinese text below is code snippet OpenTypeFont arialuni = new OpenTypeFont("ARIALUNI.ttf"); OpenTypeFont arialuniBold = new OpenTypeFont("ARIALUNI.ttf"); OpenTypeFont arialuniItalic = new OpenTypeFont("ARIALUNI.ttf"); OpenTypeFont arialuniBoldItalic = new OpenTypeFont("ARIALUNI.ttf"); customFontFamily = new FontFamily("ArialUnicodeMS", arialuni, arialuniBold, arialuniItalic, arialuniBoldItalic); But still chinese text is not display as italic style. Please share the font name which display chinese text in italic format or is there any other way to achieve it.

Re: Chinese Italic Text

Support · Mar 18, 2014
Hello, In your code you are using the same font (Normal Arial Unicode) file "ARIALUNI.ttf" to create all the open type font objects. If Arial Unicode supports bold, italic and bold italic you will find different .ttf files for each of those styles and you would need to use those in your code. To achieve your requirement, you have to obtain the actual font files that support italics. We are not familiar with any fonts that support italic Chinese characters. Thanks, ceTe Software Support Team.

Re: Chinese Italic Text

Forum member · Apr 1, 2014
how can i display chinese text in italic format. please help me out and provide the steps to achieve it.

Re: Chinese Italic Text

Support · Apr 1, 2014
Hello, The DynamicPDF for .NET product relies on the font being used to display the italic text. If the font you are using does not support italic text then it is not possible to achieve that style. Our product supports using any valid true type and open type fonts, here is the documentation link . You have to obtain a font (true type or open type) that supports italic style for Chinese characters and you will be able to use the OpenTypeFont class to add the appropriate text to the PDF. Thanks, ceTe Software Support Team.