Page 1 of 1

Underline decoration question

Posted: 2008-09-11T09:48:35-07:00
by shr
Hi all.
I've tried to put underline decoration for text image.
using the DrawableTextDecoration(UnderlineDecoration)
This is what I've got:
Image
Image

What I actually want is to put a little space between the text and the underline...
does anyone knows how to do it?

Thanks for any response!

Re: Underline decoration question

Posted: 2008-09-11T10:09:44-07:00
by magick
The underline can only be controlled by the font itself-- ImageMagick gets the underline thickness and position directly from the font.

Re: Underline decoration question

Posted: 2008-09-11T11:41:03-07:00
by shr
Thanks for the response.
what I want is to see the string like this:
hello

I gave "Times New Roman" as font name, and used font weight 100. which is the most thin font as I understood.
Maybe it is not using the standard font? or maybe it will run differently from other Machine or other OS?