hello. gamedev.net this is my first post here.
im trying to add font rendering to my simple pixel graphics engine, i dont really understand how bitmaps work but i have gotten quite close.
the problem that i am facing is the characters that are rendered aren't facing the correction direction. and i can't seem to figure out how to fix it. i know I'm suppose to inverse something but i cant figure out what or how to do it.
void drawCharacter(char *bitmap, int x, int y, Color c) {
int i,j;
int set;
for (i=0; i < 8; i++) {
for (j=0; j < 8; j++) {
set = bitmap[j] & 1 << i;
if (set)
{
drawPixel(i+x,j+y,c);
}
}
}
}
it works with the character C
![](https://uploads.gamedev.net/forums/monthly_2023_09/eb1611ce2c6a4a21bd28acd21bae2afd.Screenshot-from-2023-09-02-21-03-08.png)
but not the A
![](https://uploads.gamedev.net/forums/monthly_2023_09/b35836755c6b45db95c1155d8a759319.Screenshot-from-2023-09-02-21-02-47.png)
any help would be appreciated. ๐