0

I'm using the VIPS library for manipulating images and adding text to them. I want to know how to add spacing to characters in text?

The following image is an example of what I'm talking about.

Tracking and kerning

jww
  • 97,681
  • 90
  • 411
  • 885
PiFace
  • 526
  • 3
  • 19

1 Answers1

1

You can use pango markup. For example:

vips text x.png '<span letter_spacing="10000">Hello!</span>' --dpi 300

To make:

enter image description here

jcupitt
  • 10,213
  • 2
  • 23
  • 39