ekg2
|
00001 /* $Id$ */ 00002 00003 /* 00004 * (C) Copyright 2003 Adam Czerwiński <acze@acze.net> 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License Version 2 as 00008 * published by the Free Software Foundation. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; if not, write to the Free Software 00017 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00018 */ 00019 00020 #ifndef __TOKEN_H 00021 #define __TOKEN_H 00022 00023 #ifdef HAVE_LIBJPEG 00024 const int token_char_height = 12; 00025 const char token_id_char[] = {"0123456789abcdef"}; 00026 const char token_id[][15] = { 00027 "..###..", 00028 ".#...#.", 00029 ".#...#.", 00030 "#.....#", 00031 "#.....#", 00032 "#.....#", 00033 "#.....#", 00034 "#.....#", 00035 "#.....#", 00036 ".#...#.", 00037 ".#...#.", 00038 "..###..", 00039 00040 "..#", 00041 "###", 00042 "..#", 00043 "..#", 00044 "..#", 00045 "..#", 00046 "..#", 00047 "..#", 00048 "..#", 00049 "..#", 00050 "..#", 00051 "..#", 00052 00053 "..###..", 00054 ".#...#.", 00055 "#.....#", 00056 "#.....#", 00057 "......#", 00058 ".....#.", 00059 "....#..", 00060 "...#...", 00061 "..#....", 00062 ".#.....", 00063 "#......", 00064 "#######", 00065 00066 "..###..", 00067 ".#...#.", 00068 "#.....#", 00069 "#.....#", 00070 ".....#.", 00071 "..###..", 00072 ".....#.", 00073 "......#", 00074 "#.....#", 00075 "#.....#", 00076 ".#...#.", 00077 "..###..", 00078 00079 ".....#.", 00080 "....##.", 00081 "....##.", 00082 "...#.#.", 00083 "..#..#.", 00084 "..#..#.", 00085 ".#...#.", 00086 "#....#.", 00087 "#######", 00088 ".....#.", 00089 ".....#.", 00090 ".....#.", 00091 00092 "#######", 00093 "#......", 00094 "#......", 00095 "#......", 00096 "#.###..", 00097 "##...#.", 00098 "#.....#", 00099 "......#", 00100 "#.....#", 00101 "#.....#", 00102 ".#...#.", 00103 "..###..", 00104 00105 "..###..", 00106 ".#...#.", 00107 "#.....#", 00108 "#......", 00109 "#.###..", 00110 "##...#.", 00111 "#.....#", 00112 "#.....#", 00113 "#.....#", 00114 "#.....#", 00115 ".#...#.", 00116 "..###..", 00117 00118 "#######", 00119 "......#", 00120 "......#", 00121 ".....#.", 00122 ".....#.", 00123 "....#..", 00124 "....#..", 00125 "....#..", 00126 "...#...", 00127 "...#...", 00128 "...#...", 00129 "...#...", 00130 00131 "..###..", 00132 ".#...#.", 00133 "#.....#", 00134 "#.....#", 00135 ".#...#.", 00136 "..###..", 00137 ".#...#.", 00138 "#.....#", 00139 "#.....#", 00140 "#.....#", 00141 ".#...#.", 00142 "..###..", 00143 00144 "..###..", 00145 ".#...#.", 00146 "#.....#", 00147 "#.....#", 00148 "#.....#", 00149 "#.....#", 00150 ".#...##", 00151 "..###.#", 00152 "......#", 00153 "#.....#", 00154 ".#...#.", 00155 "..###..", 00156 00157 "........", 00158 "........", 00159 "........", 00160 ".#####..", 00161 "#.....#.", 00162 "......#.", 00163 "......#.", 00164 ".######.", 00165 "#.....#.", 00166 "#.....#.", 00167 "#.....#.", 00168 ".#####.#", 00169 00170 "#......", 00171 "#......", 00172 "#......", 00173 "#.###..", 00174 "##...#.", 00175 "#.....#", 00176 "#.....#", 00177 "#.....#", 00178 "#.....#", 00179 "#.....#", 00180 "##...#.", 00181 "#.###..", 00182 00183 ".......", 00184 ".......", 00185 ".......", 00186 "..###..", 00187 ".#...#.", 00188 "#.....#", 00189 "#......", 00190 "#......", 00191 "#......", 00192 "#.....#", 00193 ".#...#.", 00194 "..###..", 00195 00196 "......#", 00197 "......#", 00198 "......#", 00199 "..###.#", 00200 ".#...##", 00201 "#.....#", 00202 "#.....#", 00203 "#.....#", 00204 "#.....#", 00205 "#.....#", 00206 ".#...##", 00207 "..###.#", 00208 00209 ".......", 00210 ".......", 00211 ".......", 00212 "..###..", 00213 ".#...#.", 00214 "#.....#", 00215 "#.....#", 00216 "#######", 00217 "#......", 00218 "#.....#", 00219 ".#...#.", 00220 "..###..", 00221 00222 "...##", 00223 "..#..", 00224 "..#..", 00225 "#####", 00226 "..#..", 00227 "..#..", 00228 "..#..", 00229 "..#..", 00230 "..#..", 00231 "..#..", 00232 "..#..", 00233 "..#.."}; 00234 #endif 00235 00236 #ifdef GIF_OCR 00237 00238 struct token_t { 00239 size_t sx, sy; 00240 unsigned char *data; 00241 }; 00242 #endif 00243 00244 #endif /* __TOKEN_H */