In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article is about how Chinese characters are output in computers. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Chinese characters are outputted in the form of glyph codes in the computer, which is a kind of dot matrix codes. In order to output Chinese characters on the display or printer, the corresponding dot matrix codes are obtained by designing Chinese characters into lattice diagrams according to graphic symbols.
Chinese characters are output in the form of glyph codes in the computer.
Glyph code, a kind of lattice code. In order to output the Chinese characters on the display or printer, the Chinese characters are designed into a dot matrix according to the graphic symbols, and the corresponding dot matrix codes (font codes) are obtained.
The font used for display is called display font. The display of a Chinese character is generally 16 × 16 or 24 × 24 or 48 × 48. Given the size of the Chinese character dot matrix, the byte space needed to store a Chinese character can be calculated.
Example: using 16 × 16 dot matrix to represent a Chinese character, that is, each Chinese character is represented by 16 lines, each line is represented by 16 dots, one dot requires a 1-bit binary code, and 16 dots need a 16-bit binary code (that is, 2 bytes), with a total of 16 lines. So 16 lines × 2 bytes / line = 32 bytes, that is, 16 × 16 dot matrix to represent a Chinese character, glyph code needs 32 bytes.
That is, the number of bytes = the number of lattice rows × the number of lattice columns / 8
The font used for printing is called the print font, in which there are more Chinese characters than the display font, and unlike the display font needs to be transferred into memory.
The collection of all Chinese character font codes is called Chinese character library. Chinese character library can be divided into soft character library and hard character library. The soft font is stored on the hard disk in the form of files, which is often used now, while the hard font solidifies the font in a separate memory chip, and then forms an interface card with other necessary devices, which is plugged into the computer, which is usually called Hanka.
It can be understood that the unified coding method for expressing Chinese characters in the computer is called the internal code, and the internal code is unique. The Chinese character code formed to facilitate the input of Chinese characters is the input code, which belongs to the outer code of Chinese characters. The input code varies according to different coding methods. The Chinese character code formed in order to display and print out Chinese characters is a glyph code, and the computer finds out the glyph code of Chinese characters in the font library through the internal code of Chinese characters, and realizes its conversion.
Thank you for reading! This is the end of the article on "how Chinese characters are output in the computer". I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.