How to change the Chinese font at will in Visual Studio

Source: Internet
Author: User

When the font you set in vs does not support Chinese characters (for example, consolas), vs uses a file to decide which Chinese font to use.
This file is:
% USERPROFILE % \ Application Data \ Microsoft \ Visual Studio \ 9.0 \ vsfontlk. dat

This file is in the text format, UTF16 encoding, with Bom. Open it in a proper editor and check this line.
0804 | nsimsun | new
0804 is a hexadecimal value, and the corresponding 10 hexadecimal value is 2052, that is, the Lang ID of the Chinese PRC. The font is behind it.
Change this line
0804 |

Re-open vs. The font has changed! (Only the new Chinese looks small)

Related Article

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.