// Retrieve appropriate columns from font data
for (col = 0; col < font.u8Width; col++)
{
- column[col] = font.au8FontTable[((c - 32) * font.u8Width) + col]; // Get first column of appropriate character
+ column[col] = font.au8FontTable[((c - font.u8FirstChar) * font.u8Width) + col]; // Get first column of appropriate character
}
}
else
// Retrieve appropriate columns from font data
for (col = 0; col < font.u8Width; col++)
{
- column[col] = font.au8FontTable[((c - 32) * font.u8Width) + col]; // Get first column of appropriate character
+ column[col] = font.au8FontTable[((c - font.u8FirstChar) * font.u8Width) + col]; // Get first column of appropriate character
}
}
else
// Retrieve appropriate columns from font data
for (col = 0; col < font.u8Width; col++)
{
- column[col] = font.au8FontTable[((c - 32) * font.u8Width) + col]; // Get first column of appropriate character
+ column[col] = font.au8FontTable[((c - font.u8FirstChar) * font.u8Width) + col]; // Get first column of appropriate character
}
}
else