Roxen.git / server / font_handlers / ttf.pike

version» Context lines:

Roxen.git/server/font_handlers/ttf.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2000, Roxen IS.    + #if !constant(Image.FreeType.Face)   #if constant(has_Image_TTF)   #include <config.h> - constant cvs_version = "$Id: ttf.pike,v 1.7 2000/12/11 05:12:55 nilsson Exp $"; + constant cvs_version = "$Id: ttf.pike,v 1.8 2000/12/11 10:44:37 per Exp $";      constant name = "TTF fonts";   constant doc = "True Type font loader. Uses freetype to render text.";   constant scalable = 1;      inherit FontHandler;      static mapping ttf_font_names_cache;      static string trimttfname( string n )
Roxen.git/server/font_handlers/ttf.pike:240:         void create()   {    roxen.getvar( "font_dirs" )    ->add_changed_callback( lambda(Variable.Variable v){    ttf_font_names_cache=0;    } );   }   #endif + #endif