Need guideline to write XBF font to partition

Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
4 posts / 0 new
Last post
火鸟
Offline
Last seen:4 days 2 hours ago
Joined:2019-07-12 09:48
Need guideline to write XBF font to partition

Hi, teams.

Trackinghttps://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/binary-too-big-if-emwin-font-includedissues, I just noticed the new emWin library & example is uploaded.

Trying to use XBF fonts, found that it should be written prior in a separated partition.

Is there any simple guideline, about how to make font image, or extract built-in fonts as a proper binary format?

任何如何编写适当的分区。

Device:
PM_Dialog
Offline
Last seen:15 hours 45 min ago
Staff
Joined:2018-02-08 11:03
Hi firebird,

Hi firebird,

Regarding your question, you will find the proper answer inAN-B-074: DA1469x emWin Graphic Library and GUIapplication note. Please refer to Sections 10 and 11 and try to follow the steps.

Thanks, PM_Dialog

火鸟
Offline
Last seen:4 days 2 hours ago
Joined:2019-07-12 09:48
Hi teams,

Hi teams,

I read the above note, but still have some more question.

To convert to XBF file, I need Font Converter tool. Where can I find it?

PM_Dialog
Offline
Last seen:15 hours 45 min ago
Staff
Joined:2018-02-08 11:03
Hi firebird,

Hi firebird,

We don’t provide any tool such as “Font Converter Tool” within the emWin reference application example. You can search it on the web if you need this kind of tool. In Section 11 in the application note, you will find detailed step for converting an image into bitmap datastream format. To do so, the bitmap converter tool, provided by emWin, and can be used.

Thanks, PM_Dialog