ttf字体包,monaco,DejaVuSansMono,calibri,times,雅黑,楷体,宋体,仿宋,黑体
中英文truetype opentype 字体包 包括常用winodws和linux下的常用中英文字体,基本满足了平时的使用需求
压缩文件包括:
calibri, calibrib, calibrii, calibriz, DejaVuSansMono, DejaVuSansMono-Bold, DejaVuSansMono-BoldOblique, DejaVuSansMono-Oblique, Monaco, msyh, msyhbd, simfang, simhei, simkai, simsun, times, timesbd, timesbi, timesi.
以及 windws和linux下ttf文件的使用方法。
ttf文件使用方法:
windows:
将所有的ttf文件拷贝到 系统所在分区的windows\fonts 目录下即可
linux:
Install and configure Unicode TrueType fonts in Linux
Uncompress the downloaded font archive to a directory and add it to the font path, a list of directories containing fonts:
1. Uncompress the archive # tar xvzf utf8.tar.gz or # tar xvjf arial.tar.bz2
2. Create a directory for new fonts # mkdir /usr/share/fonts/truetype
3. Move the uncompressed font files to the new font directory # mv *.ttf /usr/share/fonts/truetype
4. Navigate to the font directory # cd /usr/share/fonts/truetype
5. Create fonts.scale and fonts.dir # mkfontscale && mkfontdir # fc-cache
6. Add the new font directory to the X11 font path # chkfontpath --add /usr/share/fonts/truetype
7. Restart X font server # /etc/rc.d/init.d/xfs restart
You can verify the successful addition of the new path by running chkfontpath command or by listing X font server's /etc/X11/XF86Config file.
If you do not have root access, copy the *.ttf to ~/.fonts directory instead.
Make X11 fonts available to Java
Perform one of the following:
1. Open /etc/profile and add a new environment variable JAVA_FONTS=/usr/share/fonts/truetype export JAVA_FONTS
2. Open font.properties file under jre/lib directory, uncommnent and set to the appropriate font directory appendedfontpath=/usr/share/fonts/truetype
1