2009年4月15日 星期三

Garbage Code in JAVA CJK Environment on Arch Linux

1. create /opt/java/jre/lib/fonts/fallback directory

2. make symbolic link for font

ln -s /usr/share/fonts/TTF/fontfile /opt/java/jre/lib/fonts/fallback/

if Wen Quan Yi, the full path is /usr/share/fonts/wenquanyi/wqy-zenhei/wqy-zenhei.ttc

沒有留言: