Sunday, 15 February 2015

rendering - Java 7 Bug: Displaying Telugu through Unicode literals -



rendering - Java 7 Bug: Displaying Telugu through Unicode literals -

while displaying telugu through unicode in java 7,java rendering blends incorrectly.

for example, here simple snippet display word in html. works great. browsers display text correctly.

<!doctype html> <html> <body> &#x0c05&#x0c2e&#x0c4d&#x0c2e </body> </html>

however, same literals when used in java (here setting same text text area, display gets messed up.

font text_font = new font ("gautami", font.plain, 30); jtainput.setfont(text_font); jtainput.settext("\u0c05\u0c2e\u0c4d\u0c2e");

has 1 facing issues java 7 in context of unicode character rendering? tips/ideas on this?

thanks siva jasthi

try using different fonts; font worked in java 5 , java 6 stopped working in java 7. when moved new font, display came correctly.

unicode rendering java-7 unicode-literals

No comments:

Post a Comment