Underline decoration question

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
shr
Posts: 7
Joined: 2008-09-09T09:45:33-07:00

Underline decoration question

Post 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!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Underline decoration question

Post by magick »

The underline can only be controlled by the font itself-- ImageMagick gets the underline thickness and position directly from the font.
shr
Posts: 7
Joined: 2008-09-09T09:45:33-07:00

Re: Underline decoration question

Post 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?
Post Reply