Introduction - If you have any usage issues, please Google them yourself
Switch method to read font
Contains a small font creation method, the corresponding matrix extraction methods and fonts to use source code.
Principle: The additional function of the preparation of a Switch structure given area code, the function returns the location in the array matrix. Build character, when the area code as the case values , the matrix position as a return value, the write functions. This is actually a method to find the deformation.
Advantages:
Additional memory footprint small.
Matrix related to the location and area code, easy to use.
Disadvantages:
Slow, consuming CPU resources, each read a matrix must call the function.
Can support the number of Chinese characters by the case of the limit, part of the compiler support case less entries