Page 1 of 1

Interline Spacing format for PERL?

Posted: 2018-03-28T12:40:52-07:00
by johnfl68
Hello:

Does anyone know the correct context format for interline-spacing in PERL?

fill => $fontcolor1,
gravity => 'northwest',
font => $font1,
pointsize => 46,
interline-spacing => -20,
size => '1650x120'

I've tried interline-spacing and interlinespacing, etc.
Nothing seems to work.

Version: ImageMagick 6.8.9-9 Q16 x86_64 2017-07-31

I thought I have done this before, but not able to remember or find code with this in it now.

Thank you!

Re: Interline Spacing format for PERL?

Posted: 2018-03-28T13:00:16-07:00
by fmw42
It may need to be added to PerlMagick, but that may mean you have to upgrade. If you are convinced it is not in PerlMagick, then make a request to the Developers forum.

Re: Interline Spacing format for PERL?

Posted: 2018-03-28T14:09:04-07:00
by johnfl68
OK, I found the other code, it's one of those stupid quirks that can be so frustrating at times.

You have to have interline-spacing in single quotes to work.

The example below works:

fill => $fontcolor1,
gravity => 'northwest',
font => $font1,
pointsize => 46,
'interline-spacing' => -20,
size => '1650x120'