[magick-users] Re: Controlling line spacing

- Tong - mlist4suntong at yahoo.com
Sat Jun 23 07:07:28 PDT 2007


On Fri, 22 Jun 2007 16:55:56 +0000, - Tong - wrote:

> I use the "-shade" operator to create beveled fonts. Ref:
> http://www.imagemagick.org/Usage/fonts/#bevel
> 
> The problem is that I need the text to be on 2 lines, but the line spacing
> is too wide for me, since my image is small:

Forgot to say, this is how I did it:

 convert -size 220x25 xc:black -font Candice -pointsize 14 -fill white \
 -gravity center -annotate 0 'line1\nline2' -shade \
 140x60 xpt.gif

Candice is a symlink to a ttf font file.

The result is at,

> http://xpt.sourceforge.net/images/xpt.gif
> 
> I'm wondering if there is any way to reduce the line spacing in this
> case?

Thanks!


-- 
Tong (remove underscore(s) to reply)
  http://xpt.sf.net/techdocs/
  http://xpt.sf.net/tools/



More information about the Magick-users mailing list