我使用的是使用 ftrasterize 函数文件的 costom 字体、因为当我创建自定义字体时、会显示一些警告
比如
说明资源路径位置类型
"const tFontEx *"类型的#169-D 参数与"const tFont *"类型的参数 all_function.c /all_Function2行132 C/C++问题不兼容
//
//
//此字体的详细信息:
//字符:46到58 (含)
//样式:hami head bold (HHB)
//大小:60点
//粗体:否
//斜体:否
//内存使用:1372字节
//
//
我使用的字体函数是 GrContextFontSet (&sContext、&g_sFontExHhb60);
grlib.h 文件中的这两行细分:
extern const tFontEx g_sFontExHhb60;
#define g_psFontExHhb60 (const tFontEx *)&g_sFontExHhb60
如何消除该警告!
"const tFontEx *"类型的#169-D 参数与"const tFont *"类型的参数不兼容