Roxen.git / server / font_handlers / builtin.pike

version» Context lines:

Roxen.git/server/font_handlers/builtin.pike:1:   #include <config.h> - constant cvs_version = "$Id: builtin.pike,v 1.1 2000/09/04 13:53:29 per Exp $"; + constant cvs_version = "$Id: builtin.pike,v 1.2 2000/09/19 10:30:45 nilsson Exp $";      constant name = "Builtin fonts";   constant doc = "Fonts included in pike (and roxen)";      inherit FontHandler;      array available_fonts()   {    return ({ "pike builtin", "roxen builtin" });   }      array(mapping) font_information( string fnt )   {    switch( replace(lower_case(fnt)," ","_")-"_" )    {    case "pikebuiltin":    return ({    ([ -  "name":"pike bultin", +  "name":"pike builtin",    "family":"Pike builtin font",    "path":"-",    "style":"normal",    "format":"bitmap dump",    ])    });    case "roxenbuiltin":    return ({    ([ -  "name":"roxen bultin", +  "name":"roxen builtin",    "family":"Roxen builtin font",    "path":"-",    "style":"normal",    "format":"scalable vector font",    ])    });    }   }      array has_font( string name, int size )