Home  >  Article  >  What is the storage capacity required to store 400 24*24 dot matrix Chinese character glyphs?

What is the storage capacity required to store 400 24*24 dot matrix Chinese character glyphs?

藏色散人
藏色散人Original
2020-10-19 13:41:5149623browse

The storage capacity required to store 400 24*24 dot matrix Chinese character glyphs is 28.125KB; for different encodings, the storage space occupied by Chinese characters may be different. For example, a 24*24 dot matrix Chinese character requires It occupies 72 bytes of capacity, and 1,000 Chinese characters with a 24*24 dot matrix will occupy 72,000 bytes of capacity.

What is the storage capacity required to store 400 24*24 dot matrix Chinese character glyphs?

The storage capacity required to store 400 24*24 dot matrix Chinese character glyphs is 28.125KB.

A word in a 24×24 dot matrix is ​​24×3 bytes.

Then 8000 Chinese characters are 24×3×8000 bytes.

Note:

Different encodings may occupy different storage spaces for Chinese characters.

A Chinese character with a 24*24 dot matrix takes up 72 bytes of capacity.

1000 24*24 dot matrix Chinese characters will occupy 72,000 bytes of capacity

Related introduction:

Dot matrix font It divides each character into 16×16 or 24×24 points, and then uses the virtual and solid points of each point to represent the outline of the character. Bitmap fonts are also called bitmap fonts, in which each glyph is represented by a set of two-dimensional pixel information.

Font structure

Bitmap fonts are also called bitmap fonts, in which each glyph is represented by a set of two-dimensional pixel information. This text display method was commonly used in earlier computer systems (such as the DOS operating system before there was a graphical interface). Due to bitmaps, bitmap fonts are difficult to scale. A specific bitmap font can only be clearly displayed in the corresponding font size. Otherwise, the text will only be forcibly enlarged and distort the font, resulting in a mosaic-like jagged edge. However, smaller Chinese character fonts with a font size of 8-14px (that is, the default font size used by most operating systems today) are still used in screen displays, which can provide higher display effects; Mainly only as an "auxiliary" part. When the font size set by the user does not have a bit image, the font will be displayed as a vector image; and when printing, the printed font will also use vector fonts regardless of size. Print.

Font Features

The advantage of bitmap fonts is that they are displayed quickly and unlike vector fonts that require calculation; their biggest disadvantage is that they cannot be enlarged. Once enlarged, you will find jagged edges on the edges of the text.

The above is the detailed content of What is the storage capacity required to store 400 24*24 dot matrix Chinese character glyphs?. 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