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

version» Context lines:

pike.git/src/modules/Image/font.c:1: - /* $Id: font.c,v 1.56 1999/10/16 09:40:00 mirar Exp $ */ + /* $Id: font.c,v 1.57 1999/11/23 07:07:39 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.56 1999/10/16 09:40:00 mirar Exp $ + **! $Id: font.c,v 1.57 1999/11/23 07:07:39 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:279: Inside #if undefined(HAVE_MMAP)
   }    }    return res;   }   #endif      static INLINE off_t file_size(int fd)   {    struct stat tmp;    if((!fd_fstat(fd, &tmp)) && -  S_ISREG(tmp.st_mode)) +  ( tmp.st_mode & S_IFMT) == S_IFREG)    return (off_t)tmp.st_size;    return -1;   }      static INLINE void write_char(struct _char *ci,    rgb_group *pos,    INT32 xsize,    INT32 height)   {    rgb_group *nl;