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 ?

Thanks
Regards
BenoƮt


> $image->QueryFontMetrics(params);
> The function returns
> 0 character width
> 1 character height
> 2 ascender
> 3 descender
> 4 text width
> 5 text height
> 6 maximum horizontal advance
> 7 bounding box: x1
> 8 bounding box: y1
> 9 bounding box: x2
> 10 bounding box: y2
> 11 origin: x
> 12 origin: y


_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to