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

version» Context lines:

pike.git/src/modules/Image/font.c:1: - /* $Id: font.c,v 1.59 2000/07/07 13:56:45 grubba Exp $ */ + /* $Id: font.c,v 1.60 2000/07/28 07:12:44 hubbe Exp $ */   #include "global.h"      #define SPACE_CHAR 'i'      extern unsigned char * image_default_font;   #define IMAGE_DEFAULT_FONT_SIZE 30596      /*   **! module Image   **! note - **! $Id: font.c,v 1.59 2000/07/07 13:56:45 grubba Exp $ + **! $Id: font.c,v 1.60 2000/07/28 07:12:44 hubbe Exp $   **! class Font   **!   **! note   **! Short technical documentation on a font file:   **! This object adds the text-drawing and -creation   **! capabilities of the <ref>Image</ref> module.   **!   **! For simple usage, see   **! <ref>write</ref> and <ref>load</ref>.   **!
pike.git/src/modules/Image/font.c:178:   #include <unistd.h>   #endif   #ifdef HAVE_MMAP   #include <sys/mman.h>   #endif      #include "dmalloc.h"      #include "fdlib.h"    + /* This must be included last! */ + #include "module_magic.h" +    extern struct program *font_program;   extern struct program *image_program;      #undef THIS   #define THIS (*(struct font **)(Pike_fp->current_storage))   #define THISOBJ (Pike_fp->current_object)      struct font   {    unsigned long height; /* height of character rectangles */