Gvim for Windows can use any font

Source: Internet
Author: User

Transferred from:

Http://lcuc.org.cn/node/1315

 

 

Gvim for Windows 7.2.6.p1 in any font can be used in 2008.08.25.

Monday,-rubble_stone

Please call rubble@126.com if you have any questions
Use VC express 2008 for compiling from version 7.1.293
If you need to use the font combination of las LAS and consolas, go to the Internet to find the hybrid font yahei consolas hybrid of the las and consolas fonts. The _ vimrc font in the package is set.
Bug fixes:
1: The open file and save file buttons in the toolbar are invalid. Discovered by netizens;

If you use gvim for Win32, you may encounter a problem where you cannot set your preferred font. The reason is that gvim for Win32 in the official (www.vim.org) version simply lists one font in each font family, not all. I made some modifications to allow gvim to list all fonts in the system when retrieving fonts. In this way, when the set guifont and set guifontwide commands set the font, you can set any font in the system.

The compressed package is the OLE version of gvim and the version without Ole, which is based on the official 7.2.6.

Note:
1: first install the yahei consolas hybrid font;
2: If you set the font on the gvim command line, ENC must be set to cp936. If ENC is not set to cp936, you cannot use set guifont and set guifontwide on the gvim command line to set the name to contain Chinese fonts. For example, ENC is UTF-8, the following command is invalid:
: Set guifont = new: H10
Gvim will prompt that the font cannot be found. However, the setting of ENC does not affect the font whose font name is English:
: Set guifont = mingliu: H10
This can work normally;
3: If you set the font in the _ vimrc file or the _ gvimrc file, the two files must be cp936 encoded. If not, you cannot set a Chinese font in the name as in the first case;
4: There is a set cp936 encoded _ vimrc file in the package;
5: removed support for Windows NT 4.0;
6:
These shortcomings need further work to eliminate and release the modifiedSource code.

Installation Method:
1: If you have installed gvim for Win32, copy gvim.exe or gvim_ole.exe (manually renamed gvim.exe) in the compressed package to the installation directory of gvim and overwrite the corresponding files.
2: If gvim for Win32 is not installed, go to www.vim.org to download gvim for Win32 and install 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.