How to configure iText to support Asian characters?

You can define a "FontSelector" and then add your fonts (fontSelector. AddFont). Now iText will choose the not available char from the next defined font by using the fontSelector.

Process method. Asian characters are usually Unicode so you have to set "BaseFont. IDENTITY_H" instead of Ansi ones (such as FontFactory.

GetFont("tahoma", BaseFont. IDENTITY_H)). If it's RTL, you need to wrap your text in elements which have run direction property and set it to rtl.

– Witek Nov 28 '11 at 9:32 BaseFont. IDENTITY_H embeds the selected . Ttf fonts in the final PDF.

So look for the fonts which have the complete characters of that language. – VahidN Nov 28 '11 at 18:20 Since users on websites can come from everywhere, I have to add fonts for all characters to the selector, right? How to find out, which (10?

) free fonts together cover 99% of all characters? – Witek Nov 29 '11 at 8:09 Yes, you need to add those fonts and only fontSelector. Process method is able to choose the correct one automatically.

Here are some free Asian and Arabic fonts : 1001freefonts.com/asian-fonts.php & freearabicfonts.com/Free_Arabic_Fonts – VahidN Nov 29 '11 at 9:03.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions