KSM edits to RA8875

Dependents:   Liz_Test_Code

Revision:
161:0215d0eec1a4
Parent:
158:b656dcf02e14
--- a/Fonts/BPG_Arial08x08.h	Sat Jan 12 21:40:51 2019 +0000
+++ b/Fonts/BPG_Arial08x08.h	Sun Jan 13 19:02:36 2019 +0000
@@ -1,3 +1,31 @@
+//                                                                               
+//    This script modifies a font file which was generated with a tool by        
+//    MikroElektronika - GLD Font Creator.                                       
+//                                                                               
+//    That tool creates the font data set for an embedded system from a Windows  
+//    True Type font. The user is encouraged to ensure that the font used is     
+//    properly licenses, or drawn from a source that does not have a license     
+//    restriction.                                                               
+//                                                                               
+//    This script will read and then modify the file for a few specific purposes:
+//      * <space>   character is redefined to set the width to 1/4 the height.   
+//      * '0' - '9' characters are redefined to set the width equal to width('0')
+//                  or to the user override value.                               
+//                                                                               
+//    And just because it can, it then improves upon the documentation in the    
+//    resulting data structure.                                                  
+//                                                                               
+//    This script was created by Smartware Computing, and is provided 'as is'    
+//    with no warranty or suitability of fitness for any purpose. Anyone may use 
+//    or modify it subject to the agreement that:                                
+//      * The Smartware copyright statement remains intact.                      
+//      * Modifications for derivative use are clearly stated in this header.    
+//                                                                               
+//    Modifications from the original:                                           
+//      * none.                                                                  
+//                                                                               
+// Script Activation:
+//   ParseMikroeFont BPG_Arial08x08.h New_BPG_Arial08x08.h
 
 //Font Generated by MikroElektronika GLCD Font Creator 1.2.0.0
 //MikroElektrnika 2011 
@@ -6,13 +34,6 @@
 //GLCD FontName : BPG_Arial8x8
 //GLCD FontSize : 8 x 8
 
-
-// This font, originally created with MikroElektronika GLCD Font Creator
-// has been modified with a tool by Smartware Computing, to normalize 
-// the width of a few characters as follows:
-// * The <space> character width will be modified to be 1/2 the font height.
-// * The digits '0' - '9' will be fixed to the width of the zero.
-
 const unsigned char BPG_Arial08x08[] = {
     // Font Info
     0x00,                   // Unknown #1
@@ -21,8 +42,8 @@
     0x7F,0x00,              // LastChar
     0x08,                   // FontHeight
     0x00,                   // Unknown #3
-    // Directory of Chars  [Width] [Offset-L] [Offset-H] [0x00]
-    0x04,0x88,0x01,0x00,    // 0x20 ' ' 
+    // Directory of Chars  [Width] [Offset-L] [Offset-M] [Offset-H]
+    0x02,0x88,0x01,0x00,    // 0x20 ' ' 
     0x02,0x90,0x01,0x00,    // 0x21 '!' 
     0x04,0x98,0x01,0x00,    // 0x22 '"' 
     0x06,0xA0,0x01,0x00,    // 0x23 '#'