pike.git / src / modules / Image / font.c

version» Context lines:

pike.git/src/modules/Image/font.c:1:   /*   || 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.80 2003/04/30 15:56:53 grubba Exp $ + || $Id: font.c,v 1.81 2003/09/10 15:21:58 mast Exp $   */      #include "global.h"      #define SPACE_CHAR 'i'      extern const unsigned char image_default_font[];   #define IMAGE_DEFAULT_FONT_SIZE 30596      
pike.git/src/modules/Image/font.c:312:       if (THIS)    {    free_font_struct(THIS);    THIS=NULL;    }       if (!args)    {    THIS=(struct font *)xalloc(sizeof(struct font)); -  THIS->mem=image_default_font; +  THIS->mem=(void *)image_default_font;    size=IMAGE_DEFAULT_FONT_SIZE;    goto loading_default;    }       if (sp[-args].type!=T_STRING)    Pike_error("font->read: illegal or wrong number of arguments\n");       do    {   #ifdef FONT_DEBUG