daynamicjasper bangla font (unicode) vowel symbol

2019-07-13 06:56发布

I am facing a problem in showing bangla fonts (Nikosh) in daynamicjasper reports. What I have achieved is as follows:

enter image description here

But I want the following:

enter image description here

Can anyone help me what am I missing?

My code:

StyleBuilder sb = new StyleBuilder(false);
Font font = new Font(11, "Nikosh", "/fonts/Nikosh.ttf", Font.PDF_ENCODING_Identity_H_Unicode_with_horizontal_writing, true);
sb.setFont(font);

Everything is working except composite letter and vowel symbols.

Thanks in advance.

0条回答
登录 后发表回答