Recommend an easy to use single-chip dot matrix font generation tool

Single-chip dot matrix font library export tool

In the MCU development process such as the single-chip microcomputer stc, stm32, etc., sometimes the display needs of Chinese/foreign languages ​​are required. At some point, several font generation tools can be searched, and they are a bit not easy to use. Each has its own advantages, but their shortcomings are also more obvious.
After comparing the font generation tools of several single-chip microcomputers, I found a font generation software with the most satisfactory functions. Amway here, hahahaha.

Download link

==> Official website download address

==> Baidu cloud disk extraction code: 0qn8


FontLab

Software is divided into three functional areas of, EasyFont download fonts , font generator , and text and images generated .

May character generator to derive computer terminal TTF fonts into font file bin microcontroller can be used. Commonly used ASCII, GB2312 and Unicode Chinese character sets can be directly configured in the standard character set.

The most important point!!!
You can generate an ultra-small character set by supporting specifying individual characters, and you can choose the array storage format of the c file. Defined in the program in the constant field area, faster display response speed. (True fragrance live, hahaha)

1 Introduction to the main functional area

Briefly introduce the functions of the different interfaces of the software.

1.1 Font Generator

Insert picture description here
The overall interface effect is relatively comfortable compared to the Winform effect interface of several other font generation tools. The basic is to configure the font style, display effect, character set, arrangement method and exported file type to generate the required bitmap font library.

advantage
  1. Support the encoding range of the code page;
  2. Support custom character range;
  3. Unicode encoding range, can export characters in designated foreign language regions;
  4. Standard character set, including: ASCII, GB2312, GB2312(80), Unicode Chinese area, gbk, Japanese and Korean encoding, etc.;
  5. The exported font library supports: bin, c file and picture format.

A small suggestion to use: You can check the export picture when exporting to facilitate batch viewing of exported font effects. If there are many characters, the export speed will not be so fast, and it will take a while.

1.2 EasyFont font library download

This part is divided into recommended configuration and custom configuration two small areas.

Insert picture description here

Recommended configuration: This part is mainly about some recommended combination fonts provided by the software company, which gives different display solutions for different application scenarios of the product.

Highlights

On the far right, you can select the relevant glyphs, and there is an effect preview function on the right. You can preview the font style first and adjust it according to your actual hobby.

advantage
  1. There is a recommended font combination configuration. If you think it is troublesome to customize, you can directly use the recommended configuration. For my display scene font size, the font is satisfied;
  2. The recommended configuration involves the display requirements of each font size.

Insert picture description here
Custom configuration: The combination rights of this part of the font library are completely given to users, which is still very human. Select the corresponding font size and font library according to your own needs.

advantage
  1. Dot matrix larger than 32x32 can be selected by vector font, which also has a good display effect in the microcontroller;
  2. Support Unicode and GBK, Chinese-Japanese, Chinese-Korean transcoding tables;
  3. Also supports one-dimensional code generation function;
  4. For those with strict requirements on ROM space, you can choose a compressed font.

Finally, find their technology through sample application or the contact information on the left, and send them the configuration file just now to get the sample test.

1.3 Text and image generation

Insert picture description here
This part of the function is mainly for the convenience of developers to design the character layout of the product interface. You can use the font provided by the computer or the software to design the UI in the box on the right.

Design the UI effect, export it directly and use it.

advantage
  1. You can use the text effects of the computer or software company to enrich the design effects of UI text;
  2. You can import the UI background image and modify it in effect;
  3. Can import UI elements;
  4. The exported picture will be displayed in the MCU device after conversion.

1.4 UI foot

It should not be perfect and open, and there is no place to operate.

2 summary

The font generation software of this single-chip microcomputer is very practical in terms of font generation and font combination. After horizontal comparison, I can find several bit matrix font generation tools. FontLab is quite comprehensive, covering their advantages. The fonts installed on the computer are basically optional, but the export effect still needs to be adjusted to the best through the above threshold. display effect.

It is recommended to consult them. Their font effects are much better than the exported bitmap font library. For dot matrix larger than 32x32 font size, the software also has vector fonts available in the custom configuration. Developers who need to display their requirements in large fonts can apply to them for sample testing.


Hahaha, the first small sharing is over.

Guess you like

Origin blog.csdn.net/weixin_43640306/article/details/113309735