Font to use with the SPI_TFT lib

Dependents:   TFT_Test1 touch2 Mandelbrot Mindwave-screen ... more

Files at this revision

API Documentation at this revision

Comitter:
dreschpe
Date:
Sun Jul 14 20:09:09 2013 +0000
Parent:
0:419d21bfc20c
Commit message:
align fonts to word border.

Changed in this revision

Arial12x12.h Show annotated file Show diff for this revision Revisions of this file
Arial24x23.h Show annotated file Show diff for this revision Revisions of this file
Arial28x28.h Show annotated file Show diff for this revision Revisions of this file
font_big.h Show annotated file Show diff for this revision Revisions of this file
diff -r 419d21bfc20c -r 76774250fcec Arial12x12.h
--- a/Arial12x12.h	Mon Sep 10 19:23:24 2012 +0000
+++ b/Arial12x12.h	Sun Jul 14 20:09:09 2013 +0000
@@ -5,6 +5,7 @@
 
 /** Arial Font with 12*12 matrix to use with SPI_TFT lib
  */ 
+__align(2) 
 const unsigned char Arial12x12[] = {
         25,12,12,2,                                                                           // Length,horz,vert,byte/vert
         0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  // Code for char  
diff -r 419d21bfc20c -r 76774250fcec Arial24x23.h
--- a/Arial24x23.h	Mon Sep 10 19:23:24 2012 +0000
+++ b/Arial24x23.h	Sun Jul 14 20:09:09 2013 +0000
@@ -7,6 +7,7 @@
 
 /** Arial Font with 24x23 pixel matrix for uas with the SPI_TFT lib
 */
+__align(2)
 const unsigned char Arial24x23[] = {
         73,24,23,3,
         0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  // Code for char  
diff -r 419d21bfc20c -r 76774250fcec Arial28x28.h
--- a/Arial28x28.h	Mon Sep 10 19:23:24 2012 +0000
+++ b/Arial28x28.h	Sun Jul 14 20:09:09 2013 +0000
@@ -7,6 +7,7 @@
 
 /** Arial Font italic with 27*28 pixel matrix for use with SPI_TFT lib
 */
+__align(2)
 const unsigned char Arial28x28[] = {
 113,28,28,4,
 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
diff -r 419d21bfc20c -r 76774250fcec font_big.h
--- a/font_big.h	Mon Sep 10 19:23:24 2012 +0000
+++ b/font_big.h	Sun Jul 14 20:09:09 2013 +0000
@@ -7,6 +7,7 @@
 
 /** big font 42*35 pixel matrix for use with the SPI_TFT lib
 */
+__align(2)
 const unsigned char Neu42x35[] = {
         211,42,35,5,
         0x16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  // Code for char