Removed the const definition in hz12 font file info which causes hard fault when loading.
Also uploaded a working SongTi 12x12 font file. Tested in stm32_radio. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@374 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
8d78b3743a
commit
d5b20ba603
Binary file not shown.
|
@ -12293,12 +12293,12 @@ struct rtgui_font rtgui_font_hz12 =
|
||||||
|
|
||||||
/* size = 196272 bytes */
|
/* size = 196272 bytes */
|
||||||
#else
|
#else
|
||||||
const struct rtgui_hz_file_font hz12 =
|
struct rtgui_hz_file_font hz12 =
|
||||||
{
|
{
|
||||||
{RT_NULL}, /* cache root */
|
{RT_NULL}, /* cache root */
|
||||||
0, /* cache size */
|
0, /* cache size */
|
||||||
12, /* font size */
|
12, /* font size */
|
||||||
32, /* font data size */
|
24, /* font data size */
|
||||||
-1, /* fd */
|
-1, /* fd */
|
||||||
"/resource/hzk12.fnt" /* font_fn */
|
"/resource/hzk12.fnt" /* font_fn */
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue