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

version» Context lines:

pike.git/src/modules/Image/font.c:1: - /* $Id: font.c,v 1.22 1997/12/22 23:26:46 hubbe Exp $ */ + /* $Id: font.c,v 1.23 1997/12/28 09:29:32 hubbe Exp $ */   #include <config.h>      #define SPACE_CHAR 'i'      /*   **! module Image   **! note - **! $Id: font.c,v 1.22 1997/12/22 23:26:46 hubbe Exp $ + **! $Id: font.c,v 1.23 1997/12/28 09:29:32 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:103:   #endif      #ifdef HAVE_SYS_FCNTL_H   #include <sys/fcntl.h>   #endif      #ifdef HAVE_NETINET_IN_H   #include <netinet/in.h>   #endif    + #ifdef HAVE_WINSOCK_H + #include <winsock.h> + #endif +    #include <errno.h>      #include "config.h"      #include "stralloc.h"   #include "pike_macros.h"   #include "object.h"   #include "constants.h"   #include "interpret.h"   #include "svalue.h"
pike.git/src/modules/Image/font.c:126:      #include "image.h"   #ifdef HAVE_MMAP   #include <sys/mman.h>   #endif         static 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 */   #ifdef HAVE_MMAP    unsigned long mmaped_size; /* if 0 - not mmaped: just free() mem */   #endif