added VGA8.F8

This commit is contained in:
2023-09-13 16:11:23 +08:00
parent dc90b536c3
commit d3a3f70be1
7 changed files with 25 additions and 24 deletions

View File

@@ -149,8 +149,8 @@ bool InitBitmapFont()
if(!LoadBitmapFont())
return(false);
CHAR_BITMAP_WIDTH=GetCharWidth();
CHAR_BITMAP_HEIGHT=GetCharHeight();
CHAR_BITMAP_WIDTH=8;
CHAR_BITMAP_HEIGHT=16;
return(true);
}
@@ -385,7 +385,7 @@ private:
void DrawChar(const char ch,const uint x,const uint y)
{
const uint8 *sp=GetBitmapChar(ch);
const uint8 *sp=Get8x16Char(ch);
if(!sp)return;