From: Michael W. O. <mi...@ga...> - 2007-08-28 01:01:48
|
OK, so I figured I would try to improve on the fixed-width font used to automatically create the buttons in the web interface so I defined the following two parameters in my bin/mh.private.ini: button_ttf = /home/michael/.misterhouse/arialbd.ttf button_ttf_ptsize = 8.0 However, my buttons don't change. Hmm. So, I go poking around in the script, web/bin/button2.pl and see that there is flag to enable debug output called "$Debug{$ScriptName}", but I don't know how to turn that on. Hold that thought, I will get back to it. Then I start thinking... hmm, what if I am barking up the wrong tree. I go look at my log file and see lots of the usual... Writing image to cache: /path/to/cache/foo.jpg So, this text "Writing image to cache:" exists in web/bin/button.pl, not in web/bin/button2.pl, so I am not even trying to debug the right @#$%%^ script! Gah! Alright, now for the questions. First, how can I use button2.pl instead of button.pl to generate the buttons so that a custom font can be used? Second, once I get button2.pl running instead of button.pl, how do I flip the debug switch in button2.pl (Perl n00b here, be patient please)? Thanks guys. -- Mike Oliver, KI4OFU [see complete headers for contact information] +----------------------------------------------------------------------+ | KI4OFU When all else fails...AMATEUR RADIO THRIVES! KI4OFU | +----------------------------------------------------------------------+ |