Branch: Tag:

1997-08-12

1997-08-12 19:45:43 by Per Hedbor <ph@opera.com>

fixes

Rev: server/base_server/config/describers.pike:1.33
Rev: server/base_server/config/draw_things.pike:1.22
Rev: server/base_server/configuration.pike:1.49
Rev: server/base_server/fonts.pike:1.11
Rev: server/base_server/language.pike:1.10
Rev: server/base_server/mainconfig.pike:1.57
Rev: server/base_server/module_support.pike:1.13
Rev: server/config_actions/shutdown.pike:1.2
Rev: server/modules/graphics/graphic_text.pike:1.51

1: - string cvs_version="$Id: graphic_text.pike,v 1.50 1997/08/12 06:32:22 per Exp $"; + string cvs_version="$Id: graphic_text.pike,v 1.51 1997/08/12 19:45:43 per Exp $";      #include <module.h>   inherit "module";
106:    catch(fnts = get_dir("fonts/32/") - ({".",".."}));    if(!fnts)    { -  report_error("Failed to find any fonts in 'fonts/32/'. No default font.\n"); +     return ({});    }    return fnts;
165:       if(!fnt->load( name ))    { -  report_error("Failed to load the font "+name+", using the default font.\n"); +  report_debug("Failed to load the compatibility font "+name+ +  ", using the default font.\n");    if(!fnt->load("fonts/"+QUERY(default_size) +"/"+ QUERY(default_font))) -  error("Failed to load the default font\n"); +  report_error("Failed to load the default compatibility font\n");    }    catch {    if(justification=="right") fnt->right();