Roxen.git / server / modules / graphics / graphic_text.pike

version» Context lines:

Roxen.git/server/modules/graphics/graphic_text.pike:1: - string cvs_version="$Id: graphic_text.pike,v 1.49 1997/07/11 06:00:06 per Exp $"; + string cvs_version="$Id: graphic_text.pike,v 1.50 1997/08/12 06:32:22 per Exp $";      #include <module.h>   inherit "module";   inherit "roxenlib";      #if efun(_static_modules)   # define map_array Array.map   import Image;   # define Image image   # define Font font
Roxen.git/server/modules/graphics/graphic_text.pike:107:    if(!fnts)    {    report_error("Failed to find any fonts in 'fonts/32/'. No default font.\n");    return ({});    }    return fnts;   }      void create()   { -  defvar("deflen", 300, "Default maximum text-length", TYPE_INT, +  defvar("deflen", 300, "Default maximum text-length", TYPE_INT|VAR_MORE,    "The module will, per default, not try to render texts "    "longer than this. This is a safeguard for things like "    "&lt;gh1&gt;&lt;/gh&gt;, which would otherwise parse the"    " whole document. This can be overrided with maxlen=... in the "    "tag.");    -  defvar("location", "/gtext/", "Mountpoint", TYPE_LOCATION, +  defvar("location", "/gtext/", "Mountpoint", TYPE_LOCATION|VAR_MORE,    "The URL-prefix for the graphic characters.");       defvar("cols", 16, "Default number of colors per image", TYPE_INT_LIST,    "The default number of colors to use. 16 seems to be enough. "    "The size of the image depends on the number of colors",    ({ 1,2,3,4,5,6,7,8,10,16,32,64,128,256 }));         #ifdef TYPE_FONT    // compatibility variables...