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

version» Context lines:

pike.git/src/modules/Image/font.c:1: - /* $Id: font.c,v 1.50 1999/05/30 20:11:56 mirar Exp $ */ + /* $Id: font.c,v 1.51 1999/06/03 17:20:11 mirar 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.50 1999/05/30 20:11:56 mirar Exp $ + **! $Id: font.c,v 1.51 1999/06/03 17:20:11 mirar 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:177:   #include "threads.h"   #include "builtin_functions.h"      #include "image.h"   #ifdef HAVE_MMAP   #include <sys/mman.h>   #endif      #include "dmalloc.h"    - static struct program *font_program; + extern struct program *font_program;   extern struct program *image_program;      #undef THIS   #define THIS (*(struct font **)(fp->current_storage))   #define THISOBJ (fp->current_object)      struct font   {    unsigned long height; /* height of character rectangles */    unsigned long baseline; /* baseline of characters */