Hi,
I am having an issue with Khmer Unicode font. The program reads from a UTF-8 file and then writes the string to a JPEG file. In Khmer font there are subscripts for each character. These subscripts are appearing as a separate character in the JPG file. Please see "not_needed.png"( in the attachment. The needed.png( shows the correct display as shown in the text editor. I am able to get the correct format by using Javascript also. But not with Java.
Do someone have any idea as to why Java separates the subscript unicode character? I use Kh-Battambang.ttf as the font for displaying. As far as I know in Indic fonts also subscript is there.
I would be very thankful if someone could give me pointers to where the issue is. Thanks in advance.
Regards,
Subin
I am having an issue with Khmer Unicode font. The program reads from a UTF-8 file and then writes the string to a JPEG file. In Khmer font there are subscripts for each character. These subscripts are appearing as a separate character in the JPG file. Please see "not_needed.png"( in the attachment. The needed.png( shows the correct display as shown in the text editor. I am able to get the correct format by using Javascript also. But not with Java.
Do someone have any idea as to why Java separates the subscript unicode character? I use Kh-Battambang.ttf as the font for displaying. As far as I know in Indic fonts also subscript is there.
I would be very thankful if someone could give me pointers to where the issue is. Thanks in advance.
Regards,
Subin