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!
Interline Spacing format for PERL?
Interline Spacing format for PERL?
Last edited by johnfl68 on 2018-03-28T14:09:17-07:00, edited 1 time in total.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Interline Spacing format for PERL?
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?
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'
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'