Java Chinese Drawing Configuration in Linux Environment

xiaoxiao2021-03-06  37

1: CP $ java_home / jre / lib / font.properties.zh.turbo $ java_home / jre / lib / font.properties

2: Check / USR / LIB / X11 / FONTS has a TT directory. If you don't have to copy this directory (provide a font file)

3: Edit $ java_home / jre / lib / font.properties file, change the last line to appendedFontPath = / usr / lib / x11 / fonts / tt

4: Conversions need to be transformed in a place string that needs to draw words: New string ("Show Chinese" .getbytes (), "GBK");

转载请注明原文地址:https://www.9cbs.com/read-118319.html

New Post(0)