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

version» Context lines:

Roxen.git/server/modules/graphics/graphic_text.pike:1:   // This is a roxen module. Copyright © 1996 - 2000, Roxen IS.   //    - constant cvs_version="$Id: graphic_text.pike,v 1.235 2000/09/10 16:37:49 nilsson Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.236 2000/09/10 23:24:44 nilsson Exp $";      #include <module.h>   inherit "module";         // ------------------- Module registration ---------------------      constant module_type = MODULE_TAG;   constant module_name = "Graphic text";   constant module_doc =   #"Provides the <tt>&lt;gtext&gt;&lt;/gtext&gt;</tt> tag that is used   to generate text into graphical images.";   constant thread_safe = 1;      void create()   {    defvar("colorparse", 1, "Parse tags for document colors", TYPE_FLAG,    "If set, it will use the <i>HTML color wiretrap</i> module to parse " -  "figure out the document colors by parsing tags that set colors."); +  "figure out the document colors by parsing tags that set colors. " +  "If you try to disable the <i>HTML color wiretap</i> module while " +  "this option is on, it will be readded every time the " +  "<i>Graphis text</i> module is reloaded.");       defvar("deflen", 300, "Default maximum length of text", TYPE_INT|VAR_MORE,    "Per default, it will not be possible to render texts longer than "    "this. This is a safeguard so that a simple RXML error doesn't "    "cause a huge image to be generated. It can be turned of at a per "    "tag bases, with the <i>maxlen</i> attribute.");       defvar("ext", 0, "Append format to generated images",    TYPE_FLAG|VAR_MORE,    "Append the image format (.gif, .png, .gif, etc) to the generated "