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 -- 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
