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.243 2000/09/18 21:02:13 kuntri Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.244 2000/09/19 06:45:48 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", +  defvar("colorparse", 0, "Parse tags for document colors",    TYPE_FLAG|VAR_NOT_CFIF,    "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. "    "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|VAR_NOT_CFIF,    "Per default, it will not be possible to render texts longer than "