Modify the font for the DB2 control center

Source: Internet
Author: User
Tags db2 db2 installation

DB2 GUI tools are Java-written desktop software, because the use of Java default font, it is ugly, and those tools can not set the font. In fact, you can modify the Java default font to modify the way to beautify the effect of the font.

1. Enter%db2_home%/sqllib/java/jdk/jre/lib (%db2_home% is the DB2 installation directory);

2. Copy fontconfig.properties.src file as Fontconfig.properties document;

3. Modify Fontconfig.properties file, find "allfonts.chinese-gb18030=simsun-18030" line, "18030" to remove, that is to become " Allfonts.chinese-gb18030=simsun ".

4. Save and close the file, open the DB2 control center to see the effect.

Principle: DB2 GUI tools Use the Java default SimSun-18030 font, that is, the song body (founder large Character set), the font is more ugly, modified to ordinary SimSun (song body) on it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.