Sunday, January 7, 2018

run urxvt with font khmer support

1- generate locale
$ sudo locale-gen km_KH km_KH.UTF-8

- or just enable locale in cat /etc/locale.gen |grep UTF

then run
$ sudo locale-gen

2- check fonts
$ xset +fp /usr/share/fonts/truetype/ttf-khmeros
$ fc-cache
$ fc-list # to check 



3- then run urxvt the following command
$ LANG=km_KH.UTF-8 urxvt

then it will display khmer font instead of display square

No comments:

Post a Comment