On Wed, 3 Dec 2008 09:06:51 -0500
zentara <[EMAIL PROTECTED]> wrote:

>On Wed, 03 Dec 2008 14:37:18 +0100
>Benoit VARVENNE <[EMAIL PROTECTED]> wrote:
>
>>Hello
>>
>>Thanks a lot for your answers. I use QueryFontMetrics function, as
>>recommended, but I still have a problem.
>>
>>If I insert a new element at position : $x(text beginning
>>coordinate)+$width(of the text), the new element overlaps the text.
>>
>>Does someone know if there is any reason why "x+width" is not the end of the
>>string ?
>
>This is just from other GUI text experience, not specifically IM.
>One possibility is the "gravity" set for the text string. If the gravity is
>NorthWest, then your "x + width" should work, but often the gravity defaults to
>Center, where it would probably be "x + width/2"
>
>zentara

Sorry,
Just to avoid confusion, I confused gravity with align. Gravity positions
the x,y origin on the page, whereas align positions the alignment of the text
with respect to it's x, y options.

Anyways, see my other post's example, it works.

zentara

-- 
I'm not really a human, but I play one on earth.
http://zentara.net/Remember_How_Lucky_You_Are.html 
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to