2001-09-03
2001-09-03 16:32:04 by Per Hedbor <ph@opera.com>
-
632f5109942b540b7e6e7df80cb88a89b6e3454f
(8 lines)
(+6/-2)
[
Show
| Annotate
]
Branch: 5.2
Do not report errors unless DEBUG is defined
Rev: server/font_handlers/builtin.pike:1.12
4:
#else
inherit "ttf";
#endif
- constant cvs_version = "$Id: builtin.pike,v 1.11 2001/09/03 14:07:10 per Exp $";
+ constant cvs_version = "$Id: builtin.pike,v 1.12 2001/09/03 16:32:04 per Exp $";
constant name = "Builtin fonts";
constant doc = "Fonts included in pike (and roxen)";
72: Inside #if constant(__rbf) && constant(grbf)
#endif
if( !roxenbuiltin )
if( mixed err = catch(roxenbuiltin = grbf()) )
+ #ifdef DEBUG
werror("Failed to open builtin font: %s\n",
describe_backtrace( err ) );
-
+ #else
+ ;
+ #endif
if( roxenbuiltin )
#if constant(Image.FreeType.Face)
return FTFont( roxenbuiltin, size,"-", bold, italic );