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

version» Context lines:

Roxen.git/server/modules/graphics/graphic_text.pike:1: - constant cvs_version="$Id: graphic_text.pike,v 1.77 1997/09/24 14:26:14 grubba Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.78 1997/09/24 14:27:19 grubba Exp $";   constant thread_safe=1;      #include <module.h>   inherit "module";   inherit "roxenlib";      #if efun(_static_modules)   # define map_array Array.map   import Image;   # define Image image
Roxen.git/server/modules/graphics/graphic_text.pike:807:   }         mapping find_file(string f, object rid)   {    int id;    sscanf(f,"%d/%s", id, f);    object g;    if (sizeof(indices(g=Gz))) {    catch(f = g->inflate()->inflate(MIME.decode_base64(f))); +  } else { +  catch(f = MIME.decode_base64(f));    }    return http_string_answer(write_text(id,f,0,rid), "image/gif");   }   mapping url_cache = ([]);   string quote(string in)   {    if(url_cache[in]) return url_cache[in];    object g;    string option;    if (sizeof(indices(g=Gz))) {