8 years, 3 months ago.

Big Font STM32F746G Discovery

Hello everybody, I need help for create or import biggest or custom font for DISCO-F746NG or for DISCO-F469NI. Thanks.

2 Answers

8 years ago.

With a small disclaimer first - I haven't used the DISCO parts or SW. Instead, I have leveraged the mikro font tool, and created a font-driver, for a different display controller. Perhaps there is some value in there that will help in your work. I think the memory footprint is probably smaller with this toolset.

https://developer.mbed.org/users/WiredHome/notebook/soft-fonts---ra8875/

8 years, 3 months ago.

I need to do the same thing. Have a look at the board support package (BSP) for the STM32F746G-DISCO here https://developer.mbed.org/teams/ST/code/BSP_DISCO_F746NG/. You can check the required font file format by looking at font24.c, for example. There are a number of font creation programs for embedded systems from sources like Segger and mikroElektronika however I haven't yet had the time to explore the means to convert the output from these into the required font file format. Hope this helps a little.

yes thanks I found this software to convert font on c code : https://github.com/pavius/the-dot-factory But i dont know how to use it

posted by Stef PAIN 21 Aug 2016

I found the following for converting fonts to C source here http://larsee.dk/converting-fonts-to-c-source-using-bmfont2c/. It's a two-step process and requires a bit of a fiddle to get working but it appears to generate output very close to the required font file format. A bit of editing of the output file or modification of the Python program is required. The Dot Factory program you found looks good too.

posted by Peter Ampt 24 Aug 2016