Login  Register

Re: Java is not supported with Khmer Unicode.

Posted by MJ on Jan 29, 2017; 7:40pm
URL: http://ngl.70.s1.nabble.com/Java-is-not-supported-with-Khmer-Unicode-tp7573505p7576533.html

I found the simplest solution to this issue. The solution is to add fallback font
The end user needs to place Khmer font files in java fallback folder at directory:/jre/lib/fonts/fallback
This directory may not exist on your system. So just create it if it's not already there.

1) Navigate to the directory jre/lib/fonts/
2) Under this directory create a folder called "fallback"

Example of path:
C:\Program Files (x86)\Java\jre1.8.0_111\lib\fonts\fallback
3) Search the set of font  files  KhmerUI.ttf and KhmerUIb.ttf  under C:\Windows\winsxs\
4) Copy these two files to jre/lib/fonts/fallback directory
 5) once its done , you can type and view Khmer fonts in form application