Change font leading and tracking
Change font leading and tracking
I am trying to find a way to use different leading(line spacing) and tracking(character spacing) for a selected font using caption. Is there a way to do this and if so, how?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Change font leading and tracking
I will defer to the experts (Anthony and Magick), but I don't think that is directly possible.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Change font leading and tracking
At this time no this is not directly possible. IM is not designed to be a work processor in this way.
However with some trickiness you can things like this indirectly.
For example I have a script called... divide_vert which will take a image of, for example, plain text and generates a sequence of images consisting of the individual lines, and gaps. You can then simply splice extra space into the images, and append them together again.
The script is a prototype of a possible future operators for image 'segmentation'. There are a number of possibilities not implemented as yet, which are listed in the script header. It could be taken further to also cut up lines into individual characters and/or work spacing.
Basically it would be one posible solution to your problem.
However with some trickiness you can things like this indirectly.
For example I have a script called... divide_vert which will take a image of, for example, plain text and generates a sequence of images consisting of the individual lines, and gaps. You can then simply splice extra space into the images, and append them together again.
The script is a prototype of a possible future operators for image 'segmentation'. There are a number of possibilities not implemented as yet, which are listed in the script header. It could be taken further to also cut up lines into individual characters and/or work spacing.
Basically it would be one posible solution to your problem.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/