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

version» Context lines:

pike.git/src/modules/Image/font.c:1: - /* $Id: font.c,v 1.53 1999/06/19 20:24:45 hubbe Exp $ */ + /* $Id: font.c,v 1.54 1999/09/14 13:55:08 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.53 1999/06/19 20:24:45 hubbe Exp $ + **! $Id: font.c,v 1.54 1999/09/14 13:55:08 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:133:      Kerningtable types:    0 No kerning table    1 numchars*numchars entries, each a signed char with the kerning value    2 numchar entries, each with a list of kerning pairs, like this:    int len    len * (short char, short value)    */       + #include "image_machine.h"    -  - #include "fdlib.h" -  +    #include <sys/types.h>   #include <sys/stat.h>      #ifdef HAVE_FCNTL_H   #include <fcntl.h>   #endif      #ifdef HAVE_SYS_FCNTL_H   #include <sys/fcntl.h>   #endif
pike.git/src/modules/Image/font.c:158:   #ifdef HAVE_NETINET_IN_H   #include <netinet/in.h>   #endif      #ifdef HAVE_WINSOCK_H   #include <winsock.h>   #endif      #include <errno.h>    - #include "image_machine.h" -  +    #include "stralloc.h"   #include "pike_macros.h"   #include "object.h"   #include "constants.h"   #include "interpret.h"   #include "svalue.h"   #include "array.h"   #include "threads.h"   #include "builtin_functions.h"      #include "image.h"   #ifdef HAVE_MMAP   #include <sys/mman.h>   #endif      #include "dmalloc.h"    -  + #include "fdlib.h" +    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 */