[cvs] / xvidcore / src / image / font.c Repository:
ViewVC logotype

Diff of /xvidcore/src/image/font.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2, Fri Sep 6 17:37:07 2002 UTC revision 1.5, Mon Mar 22 22:36:23 2004 UTC
# Line 1  Line 1 
1  /*****************************************************************************  /*****************************************************************************
2   *   *
3   *  XVID MPEG-4 VIDEO CODEC   *  XVID MPEG-4 VIDEO CODEC
4   *  - font module   *  - Font rendering to frame buffer functions -
5   *   *
6   *  Copyright(C) 2002 Peter Ross <pross@xvid.org>   *  Copyright(C) 2002-2003 Peter Ross <pross@xvid.org>
  *  
  *  This program is an implementation of a part of one or more MPEG-4  
  *  Video tools as specified in ISO/IEC 14496-2 standard.  Those intending  
  *  to use this software module in hardware or software products are  
  *  advised that its use may infringe existing patents or copyrights, and  
  *  any such use would be at such party's own risk.  The original  
  *  developer of this software module and his/her company, and subsequent  
  *  editors and their companies, will have no liability for use of this  
  *  software or modifications or derivatives thereof.  
7   *   *
8   *  This program is free software; you can redistribute it and/or modify   *  This program is free software; you can redistribute it and/or modify
9   *  it under the terms of the GNU General Public License as published by   *  it under the terms of the GNU General Public License as published by
# Line 28  Line 19 
19   *  along with this program; if not, write to the Free Software   *  along with this program; if not, write to the Free Software
20   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21   *   *
22     * $Id$
23     *
24   ****************************************************************************/   ****************************************************************************/
25    
26    #include <stdio.h>
27    #include <stdarg.h>
28    
29  #include "image.h"  #include "image.h"
30  #include "font.h"  #include "font.h"
# Line 39  Line 34 
34    
35    
36  static const char ascii33[33][FONT_WIDTH*FONT_HEIGHT] = {  static const char ascii33[33][FONT_WIDTH*FONT_HEIGHT] = {
37          {       0,0,1,0,        // !  
38            /* ! */
39            {0,0,1,0,
40                  0,0,1,0,                  0,0,1,0,
41                  0,0,1,0,                  0,0,1,0,
42                  0,0,1,0,                  0,0,1,0,
43                  0,0,0,0,                  0,0,0,0,
44                  0,0,1,0 },                  0,0,1,0 },
45    
46          {       0,1,0,1,        // "          /* " */
47            {0,1,0,1,
48                  0,1,0,1,                  0,1,0,1,
49                  0,0,0,0,                  0,0,0,0,
50                  0,0,0,0,                  0,0,0,0,
51                  0,0,0,0,                  0,0,0,0,
52                  0,0,0,0 },                  0,0,0,0 },
53    
54          {       0,1,1,0,        // #          /* # */
55            {0,1,1,0,
56                  1,1,1,1,                  1,1,1,1,
57                  0,1,1,0,                  0,1,1,0,
58                  0,1,1,0,                  0,1,1,0,
59                  1,1,1,1,                  1,1,1,1,
60                  0,1,1,0 },                  0,1,1,0 },
61    
62          {       0,1,1,0,        // $          /* $ */
63            {0,1,1,0,
64                  1,0,1,1,                  1,0,1,1,
65                  1,1,1,0,                  1,1,1,0,
66                  0,1,1,1,                  0,1,1,1,
67                  1,1,0,1,                  1,1,0,1,
68                  0,1,1,0 },                  0,1,1,0 },
69    
70          {       1,1,0,1,        // %          /* % */
71            {1,1,0,1,
72                  1,0,0,1,                  1,0,0,1,
73                  0,0,1,0,                  0,0,1,0,
74                  0,1,0,0,                  0,1,0,0,
75                  1,0,0,1,                  1,0,0,1,
76                  1,0,1,1 },                  1,0,1,1 },
77    
78          {       0,1,1,0,        //&          /* & */
79            {0,1,1,0,
80                  1,0,0,0,                  1,0,0,0,
81                  0,1,0,1,                  0,1,0,1,
82                  1,0,1,0,                  1,0,1,0,
83                  1,0,1,0,                  1,0,1,0,
84                  0,1,0,1 },                  0,1,0,1 },
85    
86          {       0,0,1,0,        // '          /* ' */
87            {0,0,1,0,
88                  0,0,1,0,                  0,0,1,0,
89                  0,0,0,0,                  0,0,0,0,
90                  0,0,0,0,                  0,0,0,0,
91                  0,0,0,0,                  0,0,0,0,
92                  0,0,0,0 },                  0,0,0,0 },
93    
94          {       0,0,1,0,        // (          /* ( */
95            {0,0,1,0,
96                  0,1,0,0,                  0,1,0,0,
97                  0,1,0,0,                  0,1,0,0,
98                  0,1,0,0,                  0,1,0,0,
99                  0,1,0,0,                  0,1,0,0,
100                  0,0,1,0 },                  0,0,1,0 },
101    
102          {       0,1,0,0,        // )          /* ) */
103            {0,1,0,0,
104                  0,0,1,0,                  0,0,1,0,
105                  0,0,1,0,                  0,0,1,0,
106                  0,0,1,0,                  0,0,1,0,
107                  0,0,1,0,                  0,0,1,0,
108                  0,1,0,0 },                  0,1,0,0 },
109    
110          {       0,0,0,0,                // *          /* * */
111            {0,0,0,0,
112                  1,0,0,1,                  1,0,0,1,
113                  0,1,1,0,                  0,1,1,0,
114                  1,1,1,1,                  1,1,1,1,
115                  0,1,1,0,                  0,1,1,0,
116                  1,0,0,1 },                  1,0,0,1 },
117    
118          {       0,0,0,0,        // +          /* + */
119            {0,0,0,0,
120                  0,0,1,0,                  0,0,1,0,
121                  0,0,1,0,                  0,0,1,0,
122                  0,1,1,1,                  0,1,1,1,
123                  0,0,1,0,                  0,0,1,0,
124                  0,0,1,0 },                  0,0,1,0 },
125    
126          {       0,0,0,0,        // ,          /* , */
127            {0,0,0,0,
128                  0,0,0,0,                  0,0,0,0,
129                  0,0,0,0,                  0,0,0,0,
130                  0,0,0,0,                  0,0,0,0,
131                  0,1,1,0,                  0,1,1,0,
132                  0,0,1,0 },                  0,0,1,0 },
133    
134          {       0,0,0,0,        // -          /* - */
135            {0,0,0,0,
136                  0,0,0,0,                  0,0,0,0,
137                  0,0,0,0,                  0,0,0,0,
138                  1,1,1,1,                  1,1,1,1,
139                  0,0,0,0,                  0,0,0,0,
140                  0,0,0,0 },                  0,0,0,0 },
141    
142          {       0,0,0,0,        // .          /* . */
143            {0,0,0,0,
144                  0,0,0,0,                  0,0,0,0,
145                  0,0,0,0,                  0,0,0,0,
146                  0,0,0,0,                  0,0,0,0,
147                  0,1,1,0,                  0,1,1,0,
148                  0,1,1,0 },                  0,1,1,0 },
149    
150          {       0,0,0,1,        // /          /* / */
151            {0,0,0,1,
152                  0,0,0,1,                  0,0,0,1,
153                  0,0,1,0,                  0,0,1,0,
154                  0,1,0,0,                  0,1,0,0,
155                  1,0,0,0,                  1,0,0,0,
156                  1,0,0,0 },                  1,0,0,0 },
157    
158          {       0,1,1,0,                // 0          /* 0 */
159            {0,1,1,0,
160                  1,0,0,1,                  1,0,0,1,
161                  1,0,1,1,                  1,0,1,1,
162                  1,1,0,1,                  1,1,0,1,
163                  1,0,0,1,                  1,0,0,1,
164                  0,1,1,0 },                  0,1,1,0 },
165    
166          {       0,0,1,0,        // 1          /* 1 */
167            {0,0,1,0,
168                  0,0,1,0,                  0,0,1,0,
169                  0,0,1,0,                  0,0,1,0,
170                  0,0,1,0,                  0,0,1,0,
171                  0,0,1,0,                  0,0,1,0,
172                  0,0,1,0 },                  0,0,1,0 },
173    
174          {       0,1,1,0,        // 2          /* 2 */
175            {0,1,1,0,
176                  1,0,0,1,                  1,0,0,1,
177                  0,0,1,0,                  0,0,1,0,
178                  0,1,0,0,                  0,1,0,0,
179                  1,0,0,0,                  1,0,0,0,
180                  1,1,1,1 },                  1,1,1,1 },
181    
182          {       0,1,1,0,        // 3          /* 3 */
183            {0,1,1,0,
184                  1,0,0,1,                  1,0,0,1,
185                  0,0,1,0,                  0,0,1,0,
186                  0,0,0,1,                  0,0,0,1,
187                  1,0,0,1,                  1,0,0,1,
188                  0,1,1,0 },                  0,1,1,0 },
189    
190          {       0,0,1,0,        // 4          /* 4 */
191            {0,0,1,0,
192                  0,1,1,0,                  0,1,1,0,
193                  1,0,1,0,                  1,0,1,0,
194                  1,1,1,1,                  1,1,1,1,
195                  0,0,1,0,                  0,0,1,0,
196                  0,0,1,0 },                  0,0,1,0 },
197    
198          {       1,1,1,1,        // 5          /* 5 */
199            {1,1,1,1,
200                  1,0,0,0,                  1,0,0,0,
201                  1,1,1,0,                  1,1,1,0,
202                  0,0,0,1,                  0,0,0,1,
203                  1,0,0,1,                  1,0,0,1,
204                  0,1,1,0 },                  0,1,1,0 },
205    
206          {       0,1,1,1,        //6          /* 6 */
207            {0,1,1,1,
208                  1,0,0,0,                  1,0,0,0,
209                  1,1,1,0,                  1,1,1,0,
210                  1,0,0,1,                  1,0,0,1,
211                  1,0,0,1,                  1,0,0,1,
212                  0,1,1,0 },                  0,1,1,0 },
213    
214          {       1,1,1,0,        // 7          /* 7 */
215            {1,1,1,0,
216                  0,0,0,1,                  0,0,0,1,
217                  0,0,0,1,                  0,0,0,1,
218                  0,0,1,0,                  0,0,1,0,
219                  0,0,1,0,                  0,0,1,0,
220                  0,0,1,0 },                  0,0,1,0 },
221    
222          {       0,1,1,0,        // 8          /* 8 */
223            {0,1,1,0,
224                  1,0,0,1,                  1,0,0,1,
225                  0,1,1,0,                  0,1,1,0,
226                  1,0,0,1,                  1,0,0,1,
227                  1,0,0,1,                  1,0,0,1,
228                  0,1,1,0 },                  0,1,1,0 },
229    
230          {       0,1,1,0,        // 9          /* 9 */
231            {0,1,1,0,
232                  1,0,0,1,                  1,0,0,1,
233                  1,0,0,1,                  1,0,0,1,
234                  0,1,1,1,                  0,1,1,1,
235                  0,0,0,1,                  0,0,0,1,
236                  1,1,1,0 },                  1,1,1,0 },
237    
238          {       0,0,0,0,                // :          /* : */
239            {0,0,0,0,
240                  0,0,0,0,                  0,0,0,0,
241                  0,0,1,0,                  0,0,1,0,
242                  0,0,0,0,                  0,0,0,0,
243                  0,0,1,0,                  0,0,1,0,
244                  0,0,0,0 },                  0,0,0,0 },
245    
246          {       0,0,0,0,                // ;          /* ; */
247            {0,0,0,0,
248                  0,0,1,0,                  0,0,1,0,
249                  0,0,0,0,                  0,0,0,0,
250                  0,0,0,0,                  0,0,0,0,
251                  0,1,1,0,                  0,1,1,0,
252                  0,0,1,0 },                  0,0,1,0 },
253    
254          {       0,0,0,1,                // <          /* < */
255            {0,0,0,1,
256                  0,0,1,0,                  0,0,1,0,
257                  0,1,0,0,                  0,1,0,0,
258                  0,1,0,0,                  0,1,0,0,
259                  0,0,1,0,                  0,0,1,0,
260                  0,0,0,1 },                  0,0,0,1 },
261    
262          {       0,0,0,0,                // =          /* = */
263            {0,0,0,0,
264                  1,1,1,1,                  1,1,1,1,
265                  0,0,0,0,                  0,0,0,0,
266                  0,0,0,0,                  0,0,0,0,
267                  1,1,1,1,                  1,1,1,1,
268                  0,0,0,0 },                  0,0,0,0 },
269    
270          {       0,1,0,0,                // >          /* > */
271            {0,1,0,0,
272                  0,0,1,0,                  0,0,1,0,
273                  0,0,0,1,                  0,0,0,1,
274                  0,0,0,1,                  0,0,0,1,
275                  0,0,1,0,                  0,0,1,0,
276                  0,1,0,0 },                  0,1,0,0 },
277    
278          {       0,1,1,0,                // ?          /* ? */
279            {0,1,1,0,
280                  1,0,0,1,                  1,0,0,1,
281                  0,0,1,0,                  0,0,1,0,
282                  0,0,1,0,                  0,0,1,0,
283                  0,0,0,0,                  0,0,0,0,
284                  0,0,1,0 },                  0,0,1,0 },
285    
286          {       0,1,1,0,                // @          /* @ */
287            {0,1,1,0,
288                  1,0,0,1,                  1,0,0,1,
289                  1,0,1,1,                  1,0,1,1,
290                  1,0,1,1,                  1,0,1,1,
# Line 267  Line 295 
295    
296    
297  static const char ascii65[26][FONT_WIDTH*FONT_HEIGHT] = {  static const char ascii65[26][FONT_WIDTH*FONT_HEIGHT] = {
298          {       0,1,1,0,        // A          /* A */
299            {0,1,1,0,
300                  1,0,0,1,                  1,0,0,1,
301                  1,0,0,1,                  1,0,0,1,
302                  1,1,1,1,                  1,1,1,1,
303                  1,0,0,1,                  1,0,0,1,
304                  1,0,0,1 },                  1,0,0,1 },
305    
306          {       1,1,1,0,        // B          /* B */
307            {1,1,1,0,
308                  1,0,0,1,                  1,0,0,1,
309                  1,1,1,0,                  1,1,1,0,
310                  1,0,0,1,                  1,0,0,1,
311                  1,0,0,1,                  1,0,0,1,
312                  1,1,1,0 },                  1,1,1,0 },
313    
314          {       0,1,1,0,        // C          /* C */
315            {0,1,1,0,
316                  1,0,0,1,                  1,0,0,1,
317                  1,0,0,0,                  1,0,0,0,
318                  1,0,0,0,                  1,0,0,0,
319                  1,0,0,1,                  1,0,0,1,
320                  0,1,1,0 },                  0,1,1,0 },
321    
322          {       1,1,0,0,        // D          /* D */
323            {1,1,0,0,
324                  1,0,1,0,                  1,0,1,0,
325                  1,0,0,1,                  1,0,0,1,
326                  1,0,0,1,                  1,0,0,1,
327                  1,0,1,0,                  1,0,1,0,
328                  1,1,0,0 },                  1,1,0,0 },
329    
330          {       1,1,1,1,        // E          /* E */
331            {1,1,1,1,
332                  1,0,0,0,                  1,0,0,0,
333                  1,1,1,0,                  1,1,1,0,
334                  1,0,0,0,                  1,0,0,0,
335                  1,0,0,0,                  1,0,0,0,
336                  1,1,1,1 },                  1,1,1,1 },
337    
338          {       1,1,1,1,        // F          /* F */
339            {1,1,1,1,
340                  1,0,0,0,                  1,0,0,0,
341                  1,1,1,0,                  1,1,1,0,
342                  1,0,0,0,                  1,0,0,0,
343                  1,0,0,0,                  1,0,0,0,
344                  1,0,0,0 },                  1,0,0,0 },
345    
346          {       0,1,1,1,        // G          /* G */
347            {0,1,1,1,
348                  1,0,0,0,                  1,0,0,0,
349                  1,0,1,1,                  1,0,1,1,
350                  1,0,0,1,                  1,0,0,1,
351                  1,0,0,1,                  1,0,0,1,
352                  0,1,1,0 },                  0,1,1,0 },
353    
354          {       1,0,0,1,        // H          /* H */
355            {1,0,0,1,
356                  1,0,0,1,                  1,0,0,1,
357                  1,1,1,1,                  1,1,1,1,
358                  1,0,0,1,                  1,0,0,1,
359                  1,0,0,1,                  1,0,0,1,
360                  1,0,0,1 },                  1,0,0,1 },
361    
362          {       0,1,1,1,        // I          /* I */
363            {0,1,1,1,
364                  0,0,1,0,                  0,0,1,0,
365                  0,0,1,0,                  0,0,1,0,
366                  0,0,1,0,                  0,0,1,0,
367                  0,0,1,0,                  0,0,1,0,
368                  0,1,1,1 },                  0,1,1,1 },
369    
370          {       0,1,1,1,        // J          /* J */
371            {0,1,1,1,
372                  0,0,1,0,                  0,0,1,0,
373                  0,0,1,0,                  0,0,1,0,
374                  0,0,1,0,                  0,0,1,0,
375                  1,0,1,0,                  1,0,1,0,
376                  0,1,0,0 },                  0,1,0,0 },
377    
378          {       1,0,0,1,        // K          /* K */
379            {1,0,0,1,
380                  1,0,0,1,                  1,0,0,1,
381                  1,1,1,0,                  1,1,1,0,
382                  1,0,0,1,                  1,0,0,1,
383                  1,0,0,1,                  1,0,0,1,
384                  1,0,0,1 },                  1,0,0,1 },
385    
386          {       1,0,0,0,        // L          /* L */
387            {1,0,0,0,
388                  1,0,0,0,                  1,0,0,0,
389                  1,0,0,0,                  1,0,0,0,
390                  1,0,0,0,                  1,0,0,0,
391                  1,0,0,0,                  1,0,0,0,
392                  1,1,1,1 },                  1,1,1,1 },
393    
394          {       1,0,0,1,        // M          /* M */
395            {1,0,0,1,
396                  1,1,1,1,                  1,1,1,1,
397                  1,1,1,1,                  1,1,1,1,
398                  1,0,0,1,                  1,0,0,1,
399                  1,0,0,1,                  1,0,0,1,
400                  1,0,0,1 },                  1,0,0,1 },
401    
402          {       1,0,0,1,        // N          /* N */
403            {1,0,0,1,
404                  1,1,0,1,                  1,1,0,1,
405                  1,1,0,1,                  1,1,0,1,
406                  1,0,1,1,                  1,0,1,1,
407                  1,0,1,1,                  1,0,1,1,
408                  1,0,0,1 },                  1,0,0,1 },
409    
410          {       0,1,1,0,                // 0          /* 0 */
411            {0,1,1,0,
412                  1,0,0,1,                  1,0,0,1,
413                  1,0,0,1,                  1,0,0,1,
414                  1,0,0,1,                  1,0,0,1,
415                  1,0,0,1,                  1,0,0,1,
416                  0,1,1,0 },                  0,1,1,0 },
417    
418          {       1,1,1,0,                // P          /* P */
419            {1,1,1,0,
420                  1,0,0,1,                  1,0,0,1,
421                  1,1,1,0,                  1,1,1,0,
422                  1,0,0,0,                  1,0,0,0,
423                  1,0,0,0,                  1,0,0,0,
424                  1,0,0,0 },                  1,0,0,0 },
425    
426          {       0,1,1,0,                // Q          /* Q */
427            {0,1,1,0,
428                  1,0,0,1,                  1,0,0,1,
429                  1,0,0,1,                  1,0,0,1,
430                  1,0,0,1,                  1,0,0,1,
# Line 387  Line 432 
432                  0,1,0,1 },                  0,1,0,1 },
433    
434    
435          {       1,1,1,0,                // R          /* R */
436            {1,1,1,0,
437                  1,0,0,1,                  1,0,0,1,
438                  1,1,1,0,                  1,1,1,0,
439                  1,0,0,1,                  1,0,0,1,
440                  1,0,0,1,                  1,0,0,1,
441                  1,0,0,1 },                  1,0,0,1 },
442    
443          {       0,1,1,0,                // S          /* S */
444            {0,1,1,0,
445                  1,0,0,1,                  1,0,0,1,
446                  0,1,0,0,                  0,1,0,0,
447                  0,0,1,0,                  0,0,1,0,
448                  1,0,0,1,                  1,0,0,1,
449                  0,1,1,0 },                  0,1,1,0 },
450    
451          {       0,1,1,1,        // T          /* T */
452            {0,1,1,1,
453                  0,0,1,0,                  0,0,1,0,
454                  0,0,1,0,                  0,0,1,0,
455                  0,0,1,0,                  0,0,1,0,
456                  0,0,1,0,                  0,0,1,0,
457                  0,0,1,0 },                  0,0,1,0 },
458    
459          {       1,0,0,1,                // U          /* U */
460            {1,0,0,1,
461                  1,0,0,1,                  1,0,0,1,
462                  1,0,0,1,                  1,0,0,1,
463                  1,0,0,1,                  1,0,0,1,
464                  1,0,0,1,                  1,0,0,1,
465                  1,1,1,1 },                  1,1,1,1 },
466    
467          {       1,0,0,1,                // V          /* V */
468            {1,0,0,1,
469                  1,0,0,1,                  1,0,0,1,
470                  1,0,0,1,                  1,0,0,1,
471                  0,1,1,0,                  0,1,1,0,
472                  0,1,1,0,                  0,1,1,0,
473                  0,1,1,0 },                  0,1,1,0 },
474    
475          {       1,0,0,1,        // W          /* W */
476            {1,0,0,1,
477                  1,0,0,1,                  1,0,0,1,
478                  1,0,0,1,                  1,0,0,1,
479                  1,1,1,1,                  1,1,1,1,
480                  1,1,1,1,                  1,1,1,1,
481                  1,0,0,1 },                  1,0,0,1 },
482    
483          {       1,0,0,1,                // X          /* X */
484            {1,0,0,1,
485                  1,0,0,1,                  1,0,0,1,
486                  0,1,1,0,                  0,1,1,0,
487                  1,0,0,1,                  1,0,0,1,
488                  1,0,0,1,                  1,0,0,1,
489                  1,0,0,1 },                  1,0,0,1 },
490    
491          {       1,0,0,1,                // Y          /* Y */
492            {1,0,0,1,
493                  1,0,0,1,                  1,0,0,1,
494                  0,1,0,0,                  0,1,0,0,
495                  0,0,1,0,                  0,0,1,0,
496                  0,1,0,0,                  0,1,0,0,
497                  1,0,0,0 },                  1,0,0,0 },
498    
499          {       1,1,1,1,                // Z          /* Z */
500            {1,1,1,1,
501                  0,0,0,1,                  0,0,0,1,
502                  0,0,1,0,                  0,0,1,0,
503                  0,1,0,0,                  0,1,0,0,
# Line 455  Line 509 
509    
510    
511  static const char ascii91[6][FONT_WIDTH*FONT_HEIGHT] = {  static const char ascii91[6][FONT_WIDTH*FONT_HEIGHT] = {
512          {       0,1,1,0,                // [          /* [ */
513            {0,1,1,0,
514                  0,1,0,0,                  0,1,0,0,
515                  0,1,0,0,                  0,1,0,0,
516                  0,1,0,0,                  0,1,0,0,
517                  0,1,0,0,                  0,1,0,0,
518                  0,1,1,0 },                  0,1,1,0 },
519    
520          {       1,0,0,0,                // '\'          /* '\' */
521            {1,0,0,0,
522                  1,0,0,0,                  1,0,0,0,
523                  0,1,0,0,                  0,1,0,0,
524                  0,0,1,0,                  0,0,1,0,
525                  0,0,0,1,                  0,0,0,1,
526                  0,0,0,1 },                  0,0,0,1 },
527    
528          {       0,1,1,0,                // ]          /* ] */
529            {0,1,1,0,
530                  0,0,1,0,                  0,0,1,0,
531                  0,0,1,0,                  0,0,1,0,
532                  0,0,1,0,                  0,0,1,0,
533                  0,1,1,0,           0,0,1,0,
534             0,1,1,0},
535    
536                  0,0,1,0 },          /* ^ */
537          {       0,1,0,1,                // ^          {0,1,0,1,
538                  0,0,0,0,                  0,0,0,0,
539                  0,0,0,0,                  0,0,0,0,
540                  0,0,0,0,                  0,0,0,0,
541                  0,0,0,0,                  0,0,0,0,
542                  0,0,0,0 },                  0,0,0,0 },
543    
544          {       0,0,0,0,                // _          /* _ */
545            {0,0,0,0,
546                  0,0,0,0,                  0,0,0,0,
547                  0,0,0,0,                  0,0,0,0,
548                  0,0,0,0,                  0,0,0,0,
549                  0,0,0,0,                  0,0,0,0,
550                  1,1,1,1 },                  1,1,1,1 },
551    
552          {       0,1,0,0,                // `          /* ` */
553            {0,1,0,0,
554                  0,0,1,0,                  0,0,1,0,
555                  0,0,0,0,                  0,0,0,0,
556                  0,0,0,0,                  0,0,0,0,
# Line 526  Line 586 
586  {  {
587          va_list args;          va_list args;
588          char buf[FONT_BUF_SZ];          char buf[FONT_BUF_SZ];
589          size_t i;          int i;
590    
591          va_start(args, fmt);          va_start(args, fmt);
592          vsprintf(buf, fmt, args);          vsprintf(buf, fmt, args);
593    
594          for (i = 0; i < strlen(buf); i++) {          for (i = 0; i < buf[i]; i++) {
595                  const char * font;                  const char * font;
596    
597                  if (buf[i] >= '!' && buf[i] <= '@')                  if (buf[i] >= '!' && buf[i] <= '@')

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.5

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4