Permalink
Browse files

Add some more small fonts.

  • Loading branch information...
1 parent 7d37a4c commit 95ae187d42594b41d52fc82a8323216207040460 Mike Smith committed Jul 10, 2011
Showing with 1,957 additions and 0 deletions.
  1. +1,386 −0 fonts/F04b.h
  2. +186 −0 fonts/Tiny.h
  3. +192 −0 fonts/TomThumb.h
  4. +189 −0 fonts/WebbySmall.h
  5. +4 −0 fonts/allFonts.h
View
View
@@ -0,0 +1,186 @@
+/*
+ *
+ * Tiny
+ *
+ * http://www.squaregear.net/fonts/tiny.shtml
+ *
+ * Copyright (C) 2004 by Matthew Welch
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of
+ * this font software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights to
+ * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+ * of the Software, and to permit persons to whom the Software is furnished to do
+ * so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ *
+ * Converted with FontCreator
+ * written by F. Maximilian Thiele
+ *
+ * http://www.apetech.de/fontCreator
+ * me@apetech.de
+ *
+ * File Name : Tiny.h
+ * Date : 10.07.2011
+ * Font size in bytes : 1512
+ * Font width : 10
+ * Font height : 5
+ * Font first char : 32
+ * Font last char : 128
+ * Font used chars : 96
+ *
+ * The font data are defined as
+ *
+ * struct _FONT_ {
+ * uint16_t font_Size_in_Bytes_over_all_included_Size_it_self;
+ * uint8_t font_Width_in_Pixel_for_fixed_drawing;
+ * uint8_t font_Height_in_Pixel_for_all_characters;
+ * unit8_t font_First_Char;
+ * uint8_t font_Char_Count;
+ *
+ * uint8_t font_Char_Widths[font_Last_Char - font_First_Char +1];
+ * // for each character the separate width in pixels,
+ * // characters < 128 have an implicit virtual right empty row
+ *
+ * uint8_t font_data[];
+ * // bit field of all characters
+ */
+
+#include <inttypes.h>
+#include <avr/pgmspace.h>
+
+#ifndef TINY_H
+#define TINY_H
+
+#define TINY_WIDTH 10
+#define TINY_HEIGHT 5
+
+static uint8_t Tiny[] PROGMEM = {
+ 0x05, 0xE8, // size
+ 0x0A, // width
+ 0x05, // height
+ 0x20, // first char
+ 0x60, // char count
+
+ // char widths
+ 0x00, 0x01, 0x03, 0x05, 0x03, 0x04, 0x04, 0x01, 0x02, 0x02,
+ 0x03, 0x03, 0x01, 0x03, 0x01, 0x04, 0x03, 0x03, 0x03, 0x03,
+ 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x01, 0x01, 0x03, 0x03,
+ 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03,
+ 0x03, 0x03, 0x03, 0x04, 0x03, 0x05, 0x04, 0x04, 0x03, 0x04,
+ 0x03, 0x03, 0x03, 0x04, 0x05, 0x05, 0x03, 0x05, 0x04, 0x02,
+ 0x04, 0x02, 0x03, 0x03, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03,
+ 0x02, 0x02, 0x03, 0x01, 0x01, 0x03, 0x01, 0x05, 0x03, 0x03,
+ 0x03, 0x03, 0x02, 0x03, 0x03, 0x03, 0x03, 0x05, 0x03, 0x03,
+ 0x03, 0x03, 0x01, 0x03, 0x04, 0x03,
+
+ // font data
+ 0x58, // 33
+ 0x18, 0x00, 0x18, // 34
+ 0x50, 0xF8, 0x50, 0xF8, 0x50, // 35
+ 0x50, 0xF8, 0x50, // 36
+ 0x48, 0x20, 0x10, 0x48, // 37
+ 0x20, 0x58, 0x48, 0x20, // 38
+ 0x18, // 39
+ 0x70, 0x88, // 40
+ 0x88, 0x70, // 41
+ 0x28, 0x10, 0x28, // 42
+ 0x20, 0x70, 0x20, // 43
+ 0xC0, // 44
+ 0x20, 0x20, 0x20, // 45
+ 0x40, // 46
+ 0x40, 0x20, 0x10, 0x08, // 47
+ 0x30, 0x48, 0x30, // 48
+ 0x50, 0x78, 0x40, // 49
+ 0x68, 0x48, 0x50, // 50
+ 0x48, 0x58, 0x30, // 51
+ 0x30, 0x20, 0x78, // 52
+ 0x58, 0x48, 0x28, // 53
+ 0x70, 0x68, 0x68, // 54
+ 0x48, 0x28, 0x18, // 55
+ 0x30, 0x58, 0x30, // 56
+ 0x30, 0x28, 0x78, // 57
+ 0x50, // 58
+ 0xD0, // 59
+ 0x20, 0x50, 0x88, // 60
+ 0x50, 0x50, 0x50, // 61
+ 0x88, 0x50, 0x20, // 62
+ 0x08, 0x48, 0x10, // 63
+ 0x30, 0x48, 0x58, // 64
+ 0x70, 0x28, 0x70, // 65
+ 0x78, 0x58, 0x30, // 66
+ 0x30, 0x48, 0x48, // 67
+ 0x78, 0x48, 0x30, // 68
+ 0x78, 0x58, 0x48, // 69
+ 0x78, 0x28, 0x08, // 70
+ 0x30, 0x48, 0x68, // 71
+ 0x78, 0x20, 0x78, // 72
+ 0x48, 0x78, 0x48, // 73
+ 0x20, 0x40, 0x38, // 74
+ 0x78, 0x20, 0x30, 0x48, // 75
+ 0x78, 0x40, 0x40, // 76
+ 0x78, 0x10, 0x20, 0x10, 0x78, // 77
+ 0x78, 0x10, 0x20, 0x78, // 78
+ 0x30, 0x48, 0x48, 0x30, // 79
+ 0x78, 0x28, 0x10, // 80
+ 0x30, 0x48, 0xC8, 0x30, // 81
+ 0x78, 0x28, 0x50, // 82
+ 0x50, 0x48, 0x28, // 83
+ 0x08, 0x78, 0x08, // 84
+ 0x38, 0x40, 0x40, 0x38, // 85
+ 0x18, 0x20, 0x40, 0x20, 0x18, // 86
+ 0x38, 0x40, 0x30, 0x40, 0x38, // 87
+ 0x68, 0x10, 0x68, // 88
+ 0x08, 0x10, 0x60, 0x10, 0x08, // 89
+ 0x48, 0x68, 0x58, 0x48, // 90
+ 0xF8, 0x88, // 91
+ 0x08, 0x10, 0x20, 0x40, // 92
+ 0x88, 0xF8, // 93
+ 0x10, 0x08, 0x10, // 94
+ 0x80, 0x80, 0x80, // 95
+ 0x08, 0x10, // 96
+ 0x20, 0x50, 0x70, // 97
+ 0x78, 0x50, 0x20, // 98
+ 0x20, 0x50, 0x50, // 99
+ 0x20, 0x50, 0x78, // 100
+ 0x20, 0x70, 0x50, // 101
+ 0x70, 0x28, // 102
+ 0xB0, 0xF0, // 103
+ 0x78, 0x10, 0x60, // 104
+ 0x68, // 105
+ 0xE8, // 106
+ 0x78, 0x20, 0x50, // 107
+ 0x78, // 108
+ 0x70, 0x10, 0x60, 0x10, 0x60, // 109
+ 0x70, 0x10, 0x60, // 110
+ 0x20, 0x50, 0x20, // 111
+ 0xF0, 0x50, 0x20, // 112
+ 0x20, 0x50, 0xF0, // 113
+ 0x70, 0x10, // 114
+ 0x40, 0x70, 0x10, // 115
+ 0x10, 0x78, 0x10, // 116
+ 0x30, 0x40, 0x70, // 117
+ 0x30, 0x40, 0x30, // 118
+ 0x30, 0x40, 0x20, 0x40, 0x30, // 119
+ 0x50, 0x20, 0x50, // 120
+ 0xB0, 0xA0, 0x70, // 121
+ 0x50, 0x70, 0x50, // 122
+ 0x20, 0xF8, 0x88, // 123
+ 0xF8, // 124
+ 0x88, 0xF8, 0x20, // 125
+ 0x10, 0x08, 0x10, 0x08, // 126
+ 0x40, 0x30, 0x08 // 127
+
+};
+
+#endif
View
@@ -0,0 +1,192 @@
+/*
+ *
+ * Tom Thumb
+ *
+ * From http://robey.lag.net/2010/01/23/tiny-monospace-font.html
+ *
+ * Copyright 1999 Brian J. Swetland
+ * Copyright 1999 Vassilii Khachaturov
+ *
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions, and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions, and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. The name of the authors may not be used to endorse or promote products
+ * derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Converted with FontCreator
+ * written by F. Maximilian Thiele
+ *
+ * http://www.apetech.de/fontCreator
+ * me@apetech.de
+ *
+ * File Name : TomThumb
+ * Date : 09.07.2011
+ * Font size in bytes : 1686
+ * Font width : 10
+ * Font height : 6
+ * Font first char : 32
+ * Font last char : 128
+ * Font used chars : 96
+ *
+ * The font data are defined as
+ *
+ * struct _FONT_ {
+ * uint16_t font_Size_in_Bytes_over_all_included_Size_it_self;
+ * uint8_t font_Width_in_Pixel_for_fixed_drawing;
+ * uint8_t font_Height_in_Pixel_for_all_characters;
+ * unit8_t font_First_Char;
+ * uint8_t font_Char_Count;
+ *
+ * uint8_t font_Char_Widths[font_Last_Char - font_First_Char +1];
+ * // for each character the separate width in pixels,
+ * // characters < 128 have an implicit virtual right empty row
+ *
+ * uint8_t font_data[];
+ * // bit field of all characters
+ */
+
+#include <inttypes.h>
+#include <avr/pgmspace.h>
+
+#ifndef TOMTHUMB_H
+#define TOMTHUMB_H
+
+#define TOMTHUMB_WIDTH 10
+#define TOMTHUMB_HEIGHT 6
+
+static uint8_t TomThumb[] PROGMEM = {
+ 0x06, 0x96, // size
+ 0x0A, // width
+ 0x06, // height
+ 0x20, // first char
+ 0x60, // char count
+
+ // char widths
+ 0x00, 0x01, 0x03, 0x03, 0x03, 0x03, 0x03, 0x01, 0x02, 0x02,
+ 0x03, 0x03, 0x02, 0x03, 0x01, 0x03, 0x03, 0x02, 0x03, 0x03,
+ 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x01, 0x02, 0x03, 0x03,
+ 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03,
+ 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03,
+ 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03,
+ 0x03, 0x03, 0x03, 0x03, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03,
+ 0x03, 0x03, 0x03, 0x01, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03,
+ 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03,
+ 0x03, 0x03, 0x01, 0x03, 0x03, 0x00,
+
+ // font data
+ 0x5C, // 33
+ 0x0C, 0x00, 0x0C, // 34
+ 0x7C, 0x28, 0x7C, // 35
+ 0x28, 0x7C, 0x14, // 36
+ 0x24, 0x10, 0x48, // 37
+ 0x3C, 0x5C, 0x70, // 38
+ 0x0C, // 39
+ 0x38, 0x44, // 40
+ 0x44, 0x38, // 41
+ 0x14, 0x08, 0x14, // 42
+ 0x10, 0x38, 0x10, // 43
+ 0x40, 0x20, // 44
+ 0x10, 0x10, 0x10, // 45
+ 0x40, // 46
+ 0x60, 0x10, 0x0C, // 47
+ 0x78, 0x44, 0x3C, // 48
+ 0x08, 0x7C, // 49
+ 0x64, 0x54, 0x48, // 50
+ 0x44, 0x54, 0x28, // 51
+ 0x1C, 0x10, 0x7C, // 52
+ 0x5C, 0x54, 0x24, // 53
+ 0x78, 0x54, 0x74, // 54
+ 0x64, 0x14, 0x0C, // 55
+ 0x7C, 0x54, 0x7C, // 56
+ 0x5C, 0x54, 0x3C, // 57
+ 0x28, // 58
+ 0x40, 0x28, // 59
+ 0x10, 0x28, 0x44, // 60
+ 0x28, 0x28, 0x28, // 61
+ 0x44, 0x28, 0x10, // 62
+ 0x04, 0x54, 0x0C, // 63
+ 0x38, 0x54, 0x58, // 64
+ 0x78, 0x14, 0x78, // 65
+ 0x7C, 0x54, 0x28, // 66
+ 0x38, 0x44, 0x44, // 67
+ 0x7C, 0x44, 0x38, // 68
+ 0x7C, 0x54, 0x54, // 69
+ 0x7C, 0x14, 0x14, // 70
+ 0x38, 0x54, 0x74, // 71
+ 0x7C, 0x10, 0x7C, // 72
+ 0x44, 0x7C, 0x44, // 73
+ 0x20, 0x40, 0x3C, // 74
+ 0x7C, 0x10, 0x6C, // 75
+ 0x7C, 0x40, 0x40, // 76
+ 0x7C, 0x18, 0x7C, // 77
+ 0x7C, 0x38, 0x7C, // 78
+ 0x38, 0x44, 0x38, // 79
+ 0x7C, 0x14, 0x08, // 80
+ 0x38, 0x64, 0x78, // 81
+ 0x7C, 0x34, 0x58, // 82
+ 0x48, 0x54, 0x24, // 83
+ 0x04, 0x7C, 0x04, // 84
+ 0x3C, 0x40, 0x7C, // 85
+ 0x1C, 0x60, 0x1C, // 86
+ 0x7C, 0x30, 0x7C, // 87
+ 0x6C, 0x10, 0x6C, // 88
+ 0x0C, 0x70, 0x0C, // 89
+ 0x64, 0x54, 0x4C, // 90
+ 0x7C, 0x44, 0x44, // 91
+ 0x08, 0x10, 0x20, // 92
+ 0x44, 0x44, 0x7C, // 93
+ 0x08, 0x04, 0x08, // 94
+ 0x40, 0x40, 0x40, // 95
+ 0x04, 0x08, // 96
+ 0x68, 0x58, 0x70, // 97
+ 0x7C, 0x48, 0x30, // 98
+ 0x30, 0x48, 0x48, // 99
+ 0x30, 0x48, 0x7C, // 100
+ 0x30, 0x68, 0x58, // 101
+ 0x10, 0x78, 0x14, // 102
+ 0x30, 0xA8, 0x78, // 103
+ 0x7C, 0x08, 0x70, // 104
+ 0x74, // 105
+ 0x40, 0x80, 0x74, // 106
+ 0x7C, 0x30, 0x48, // 107
+ 0x44, 0x7C, 0x40, // 108
+ 0x78, 0x38, 0x78, // 109
+ 0x78, 0x08, 0x70, // 110
+ 0x30, 0x48, 0x30, // 111
+ 0xF8, 0x48, 0x30, // 112
+ 0x30, 0x48, 0xF8, // 113
+ 0x70, 0x08, 0x08, // 114
+ 0x50, 0x78, 0x28, // 115
+ 0x08, 0x7C, 0x48, // 116
+ 0x38, 0x40, 0x78, // 117
+ 0x38, 0x60, 0x38, // 118
+ 0x78, 0x70, 0x78, // 119
+ 0x48, 0x30, 0x48, // 120
+ 0x18, 0xA0, 0x78, // 121
+ 0x68, 0x78, 0x58, // 122
+ 0x10, 0x6C, 0x44, // 123
+ 0x6C, // 124
+ 0x44, 0x6C, 0x10, // 125
+ 0x08, 0x0C, 0x04, // 126
+
+};
+
+#endif
Oops, something went wrong. Retry.

0 comments on commit 95ae187

Please sign in to comment.