Branch: Tag:

2001-03-23

2001-03-23 03:13:19 by Per Hedbor <ph@opera.com>

Fixed [Bug 1358 (#1358)]

Rev: server/font_handlers/old.pike:1.9

2:   // Copyright © 1996 - 2000, Roxen IS.      #include <config.h> - constant cvs_version = "$Id: old.pike,v 1.8 2001/02/02 06:59:04 nilsson Exp $"; + constant cvs_version = "$Id: old.pike,v 1.9 2001/03/23 03:13:19 per Exp $";      constant name = "Compatibility bitmap fonts";   constant doc =
85:   {    string base_dir;    array available; +  if( String.width( name ) > 8 ) +  return 0;    foreach(roxen->query("font_dirs"), string dir)    {    base_dir = dir+size+"/"+fix_name(name);
116:      Font open( string name, int size, int bold, int italic )   { +  if( String.width( name ) > 8 ) +  return 0;    string f = make_font_name( name, size, bold, italic );    Image.Font fn = MyFont();    foreach( roxen->query( "font_dirs"), string dir )