Branch: Tag:

1998-02-10

1998-02-10 13:45:46 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

font write at least 1 pixel wide

Rev: src/modules/Image/encodings/x.c:1.7
Rev: src/modules/Image/font.c:1.29

1: - /* $Id: font.c,v 1.28 1998/02/07 22:28:38 mirar Exp $ */ + /* $Id: font.c,v 1.29 1998/02/10 13:45:46 mirar Exp $ */   #include <config.h>      #define SPACE_CHAR 'i'
6:   /*   **! module Image   **! note - **! $Id: font.c,v 1.28 1998/02/07 22:28:38 mirar Exp $ + **! $Id: font.c,v 1.29 1998/02/10 13:45:46 mirar Exp $   **! class font   **!   **! note
475:    if (!this)    error("font->write: no font loaded\n");    -  maxwidth2=0; +  maxwidth2=1;       width_of=(int *)malloc((args+1)*sizeof(int));    if(!width_of) error("Out of memory\n");