Branch: Tag:

2003-02-20

2003-02-20 13:22:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Workaround for gcc generating too long .ascii directives on SunOS 4.1.1_U1.
As a bonus the font file has shrunk ~30% due to using cpp for RLE decoding. :-)

Rev: src/modules/Image/default_font.c:1.6
Rev: src/modules/Image/font.c:1.78

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: font.c,v 1.77 2002/11/29 19:47:05 jhs Exp $ + || $Id: font.c,v 1.78 2003/02/20 13:22:40 grubba Exp $   */      #include "global.h"      #define SPACE_CHAR 'i'    - extern unsigned char * image_default_font; + extern const unsigned char image_default_font[];   #define IMAGE_DEFAULT_FONT_SIZE 30596