HI Paolo,

        Can you use an eval {}; block?

        Or maybe solve the bug. Is the @ symbol meant to appear in the 
font path?

NIge


> 
> Hi all
> 
> Here's a stripped-down version of a script I use:
> ===================================================================
> use Image::Magick;
> my $image=Image::Magick->new(size=>'75x75');
> $image->Read('null:white');
> my @x = 
> $image->QueryFontMetrics(font=>'@/usr/X11R6/lib/X11/fonts/ttf/Ritalin.ttf',text=>'X',
>  pointsize=>12);
> ===================================================================
> 
> If the font can't be found, I get this in my error log:
> ===================================================================
> Exception 415: UnableToReadFont (@/usr/X11R6/lib/X11/fonts/ttf/Ritalin.ttf) at 
> /path/to/script line 584.
> [Thu Feb 27 15:17:07 2003] [alert] Child 8329 returned a Fatal error... 
> Apache is exiting!
> ===================================================================
> 
> Even using an Error.pm try/catch block makes no difference. Pretend
> for a moment that you have no specific knowledge of the library which
> causes this problem: is there any black box approach to stopping some
> library's complaints from shutting down my web server?
> 
> Thanks
> 
> Paolo
> 

-- 
Nigel Hamilton
Turbo10 Metasearch Engine

email:  [EMAIL PROTECTED]
tel:    +44 (0) 207 987 5460
fax:    +44 (0) 207 987 5468
________________________________________________________________________________
http://turbo10.com              Search Deeper. Browse Faster.

Reply via email to