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

version» Context lines:

pike.git/src/modules/Image/font.c:1: - /* $Id: font.c,v 1.30 1998/02/11 00:45:57 hubbe Exp $ */ + /* $Id: font.c,v 1.31 1998/02/18 18:31:18 per Exp $ */   #include <config.h>      #define SPACE_CHAR 'i'      /*   **! module Image   **! note - **! $Id: font.c,v 1.30 1998/02/11 00:45:57 hubbe Exp $ + **! $Id: font.c,v 1.31 1998/02/18 18:31:18 per 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:162:    struct _char    {    unsigned long width; /* character rectangle has this width in pixels */    unsigned long spacing; /* pixels to next character */    unsigned char *pixels; /* character rectangle */    } charinfo [1]; /* many!! */   };      /***************** init & exit *********************************/    - static inline void free_font_struct(struct font *font) + static INLINE void free_font_struct(struct font *font)   {    if (font)    {    if (font->mem)    {   #ifdef HAVE_MMAP    munmap(font->mem,font->mmaped_size);   #else    free(font->mem);   #endif