This commit is contained in:
2022-06-26 04:19:29 +00:00
parent 496b9ca5d7
commit 8009c48547
4 changed files with 15 additions and 21 deletions

View File

@@ -42,7 +42,7 @@ struct sFont *MakeFont(const char *fontfile, int height)
int tw,th;
unsigned char *testbitmap = stbtt_GetCodepointBitmap(&fontinfo, 0, stbtt_ScaleForPixelHeight(&fontinfo, 40), 'a', &tw, &th, 0,0);
unsigned char *testbitmap = stbtt_GetCodepointBitmap(&fontinfo, 0, stbtt_ScaleForPixelHeight(&fontinfo, 100), 'G', &tw, &th, 0,0);
for (int i = 0; i < th; ++i) {
for (int j = 0; j<tw; ++j)