Font to use with the SPI_TFT lib
Fork of TFT_fonts by
Diff: Arial12x12.h
- Revision:
- 2:8786a96c2bee
- Parent:
- 1:76774250fcec
--- a/Arial12x12.h Sun Jul 14 20:09:09 2013 +0000 +++ b/Arial12x12.h Fri Jun 12 13:21:55 2015 +0000 @@ -4,6 +4,9 @@ //GLCD FontSize : 12 x 12 /** Arial Font with 12*12 matrix to use with SPI_TFT lib +* format here is the first 4 enttries are the length in bytes of each character, the font cell horixontal width and vertical height and then the bytes used per column. +* you'll notice that the bytes per char is always 1 more than the actual number required. That's because the first entry is used to encode +* the actual width of each character */ __align(2) const unsigned char Arial12x12[] = {