Home>Article> How many bytes are needed to store a 32×32-point Chinese character glyph code?

How many bytes are needed to store a 32×32-point Chinese character glyph code?

藏色散人
藏色散人 Original
2021-01-12 11:27:08 36813browse

The number of bytes required to store a 32×32-point Chinese character glyph code is 128; when using a dot matrix to represent the font, the Chinese character font code refers to the code of the Chinese character font dot matrix. And depending on the requirements for outputting Chinese characters, the number of dots is also different.

How many bytes are needed to store a 32×32-point Chinese character glyph code?

#The operating environment of this article: Windows 7 system, Dell G3 computer.

The number of bytes required to store a 32×32 dot matrix Chinese character glyph code is 128.

Define 8 bits as one byte, denoted as B. 32×32/8=128.

Related introduction:

Chinese character font codes usually have two representation methods: dot matrix and vector representation.

When using dot matrix to represent fonts, the Chinese character font code refers to the code of the Chinese character font dot matrix. Depending on the requirements for outputting Chinese characters, the number of dots is also different. The simplified Chinese characters are 16*16 dots, the improved Chinese characters are 24*24 dots, 32*32 dots, 48*48 dots, etc.

The larger the lattice scale, the clearer and more beautiful the fonts will be, and the larger the storage space will be.

The vector representation stores the outline features that describe Chinese character fonts. When Chinese characters are to be output, through computer calculations, the Chinese character lattice of the required size and shape is generated from the Chinese character font description. Vectorized font description has nothing to do with the size and resolution of the final text display, so it can produce high-quality Chinese character output. The TrueType technology used in Windows is the vector representation of Chinese characters.

For more related knowledge, please visitPHP Chinese website!

The above is the detailed content of How many bytes are needed to store a 32×32-point Chinese character glyph code?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn