Skip Menu |

This queue is for tickets about the Imager CPAN distribution.

Report information
The Basics
Id: 369
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Imager

People
Owner: TONYC [...] cpan.org
Requestors: arthur [...] contiller.se
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.39
Fixed in: 0.41



Subject: t1lib always creates a logfile
The attached patch removes LOGFILE from the init of t1lib, however the correct solution might be to let the user control the logfile. (However that is an API change and is up to you ;).
--- font.c.orig Thu Nov 1 12:30:14 2001 +++ font.c Mon Mar 18 15:11:52 2002 @@ -103,7 +103,7 @@ undef_int init_t1() { mm_log((1,"init_t1()\n")); - if ((T1_InitLib(LOGFILE|IGNORE_CONFIGFILE|IGNORE_FONTDATABASE) == NULL)){ + if ((T1_InitLib(IGNORE_CONFIGFILE|IGNORE_FONTDATABASE) == NULL)){ mm_log((1,"Initialization of t1lib failed\n")); return(1); }
Subject: t1lib always creates a logfile (resolved)
I've made the log optional, defaulting to off. If someone does want it they can call Imager::init(): Imager::init(t1log=>1); Tony