(none) imager-devel
/ help / lists / applications / search /
 

Re: Imager::Font

From: Arnar Mar Hrafnkelsson (
02435@xyz.molar.is)
Date: Thu 14 Jun 2001 - 01:22:57 UTC

  • Next message: Hostmaster: "Imager::Font and dynamic font selection"

    Thanks for pointing this out, this has now been fixed in CVS.

    -- Arnar.

    On Wed, 13 Jun 2001, Michael wrote:

    > Hi Mike;
    >
    > On Wed, 13 Jun 2001, Mike Depot scribed:
    >
    > > you have little typo:
    > > = should be -> on read()
    > > $img=read(file=>"test.jpg");
    > > should be:
    > > $img->read(file=>"test.jpg");
    >
    > Thanks Mike...that did it...:-) ...but the typo was a "cut_&_paste" from
    > the actual page(string)...so it needs to be corrected on there as well.
    >
    > http://www.eecs.umich.edu/~addi/perl/Imager/docs/Font-pm.html
    >
    > Also on that page is another example that I believe has a minor boo-boo
    > as well and throws a syntax error if used as is. ie:
    >
    > $img->string(font => $font,
    > text => "Model-XYZ",
    > x => 15,
    > y => 40,
    > size => 40,
    > color => $red
    > aa => 1);
    >
    > If I'm not mistaken, I think the code above is missing a "," after the
    > $red variable.
    >
    > Once again thanks for your time Mike, I do appreciate it.
    >
    > --
    >
    > best regards
    > -michael
    >
    > Michael Chopek <02469@xyz.molar.is>
    > Down to Earth Development Ltd - http://www.d2earth.com/
    > Website & Web Applications Development
    > Selena Sol's WebWare Mail List - http://www.d2earth.com/mail_list.html
    >
    >



  •