basically done

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@474 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-23 07:36:24 +00:00
parent 705e68408a
commit b77b9fe803
2 changed files with 2 additions and 2 deletions

View File

@@ -171,7 +171,7 @@ install: lib
cp -rf doc/* $(PREFIX)/share/doc/milsko/
format:
clang-format --verbose -i `find src include examples tools "(" -name "*.c" -or -name "*.h" ")" -and -not -name "stb_*.h"`
clang-format --verbose -i `find src include examples tools "(" -name "*.c" -or -name "*.h" ")" -and -not -name "stb_*.h" -and -not -name "ttf.c" -and -not -name "boldttf.c" -and -not -name "font.c" -and -not -name "boldfont.c"`
perltidy -b -bext='/' --paren-tightness=2 `find tools -name "*.pl"`
src/$(LIB)Mw$(SO): $(L_OBJS)

View File

@@ -82,7 +82,7 @@ static void bitmap_MwDrawText(MwWidget handle, MwPoint* point, const char* text,
#ifdef USE_STB_TRUETYPE
static int ttf_MwDrawText(MwWidget handle, MwPoint* point, const char* text, int bold, int align, MwLLColor color) {
ttf_t* ttf = MwGetVoid(handle, MwNfont);
ttf_t* ttf = MwGetVoid(handle, bold ? MwNboldFont : MwNfont);
MwLLColor base;
unsigned char* px;
int tw, th;