The basics of the font library

  

font library, that is, we use the computer to display the image source of Chinese characters. The computer calls the font to display Chinese characters. Instead of directly calling the same image, the internal code of the Chinese character is called. The program uses the internal code to find the corresponding image information in the corresponding image source (character) and draws it on the screen or Print onto paper. Therefore, as long as it is a text file, when it is opened in binary mode, the internal code of these words is displayed instead of the graphic.

People usually use PCs. The operating environment generally uses the Windows operating system. Its fonts are stored in the Windows\\fonts\\ directory. Open this directory to see a wide variety of fonts. Among them, Chinese characters (such as "宋体") are Chinese characters. When installing the font, just click on the browser's file → install a new font, it will display a file operation interface. Select the directory where the relevant font file is located, the system will automatically scan the font file, select and then click "Install", the font will be copied to the Windows\\fonts\\ directory, which is installed. If you are familiar with the location of the file, you can also copy it directly to the directory. After that, when you start the application (such as Word, WPS, etc.), you can choose the font you choose when you select the font. The font is out. Want to delete the font, also enter the directory, select the font you want to delete, click on the file → delete it, more convenient, use the right mouse button, delete directly.

The internal structure of the font. The font can be opened with a common font program (eg Font Creator). After the font is opened, you can find that the image of each word in the font is surrounded by curves. There are a lot of small points on the curve. When the mouse drags these control points, the curve changes and the image of the word changes. If you save this way, when you use the word of this font, it will be the same as the original one. This is the editing of the font, very simple, everyone will do it.

At this point you will find that opening a Western-language font will not exceed 256 characters. Generally, the capitalization, numbers, common punctuation, etc. of roughly twenty-six Latin letters (small differences depending on the text) can solve the problem by one person for two days. The Chinese characters are very different. The smallest Chinese character library also has 6763 Chinese characters. In order to get a version of the Chinese character font, it is obviously not a matter of one or two years (usually 3 to 5 people/year). It takes a lot of manpower and time. Therefore, the Chinese character library is not too complicated, but too cumbersome, and it is difficult for non-professionals to get involved.

There are at least a few hundred languages ​​in the world, which represent the culture of all mankind. Once upon a time, when you published a file (such as a newspaper) or software, you would need to re-enter the language code using the operating system in your local language. Because of the different codes, it is very difficult if the culture of a language wants to keep up with the level of world development or the low level of development with a high level of development. So people invented UNICODE and integrated the characters of all human beings into the same coding system. Although various language and culture systems use different code systems, the same operating system can be used to identify different language words using UNICODE.

LINUX, UNIX, Windows NT, MAC, etc. all use UNICODE. Because many cultures and history have mutual influence, their language also has blood relationship, such as the use of simplified Chinese in mainland China and traditional Chinese in Taiwan. The mainland and Taiwan have blood relations. A large part of Simplified Chinese is also used in Traditional Chinese. How to distinguish and be compatible with this phenomenon? People invented the difference system named after the code page. Like mainland China, Taiwan, Japan, and Korea, which belong to the Chinese cultural circle, there are Chinese characters in the daily use of the text, so the four code pages of 936, 950, 932, and 949 are different from each other.

Of course, the use of Chinese characters is still centered on China, so the Chinese character culture circle is called CJK system (C refers to China, J refers to Japan, K refers to Korea). Simplified Chinese used in mainland China is called GBK (ie: GB_13000). Its code page and input method are all provided in Windows\\GBK.txt, which can be referenced. Taiwan's traditional Chinese character encoding system is called BIG5 (large 5 yards). GBK contains GB_2312 and BIG5, with a total of 20,902 Chinese characters. The newly published GB_18064 has more than 60,000 characters and the character code has been expanded.

Copyright © Windows knowledge All Rights Reserved