We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lkdGui_source/port/userFontPort.c 文件中defaultFontInit函数
`/** *@brief 字体初始化 *@param None *@RetVal None / void defaultFontInit(void) { / 根据字体要求做相应的修改 */
/* 此buff的大小由最大字模大小决定 */ static uint8_t dataBuff[12*2]; defaultFont.name = "汉字字模为12*12的GB2312,ASCII字模为5*7"; defaultFont.dhigh = 12; defaultFont.dwide = 12; **defaultFont.shigh = 5;** **defaultFont.swide = 7;** defaultFont.pZmBuff = dataBuff; defaultFont.getDfont = GetDfontData; defaultFont.getSfont = GetSfontData; /* 设置为系统默认字体 */ GuiFontSet(&defaultFont);
GuiSetbackcolor(CWHITLE); GuiSetForecolor(CBLACK); }`
defaultFont.shigh = 5; defaultFont.swide = 7; 应该修改成: defaultFont.shigh = 7; defaultFont.swide = 5;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
lkdGui_source/port/userFontPort.c 文件中defaultFontInit函数
`/**
*@brief 字体初始化
*@param None
*@RetVal None
/
void defaultFontInit(void)
{
/ 根据字体要求做相应的修改 */
GuiSetbackcolor(CWHITLE);
GuiSetForecolor(CBLACK);
}`
defaultFont.shigh = 5;
defaultFont.swide = 7;
应该修改成:
defaultFont.shigh = 7;
defaultFont.swide = 5;
The text was updated successfully, but these errors were encountered: