Hi everyone,
The function imagettftext needs an x and an y position. But the Y position is the position of the baseline of the text, not the top, as in the imagestring function. And the position of this baseline inside the bounding box of the text depends on the font.
I try to generate a text in the smaller image possible. The function imagettfbbox give me the dimension I need, but i dont know what to pass in the "y" parameters of the imagettftex function. If I pass the height of the box, the bottom of the letters are cutted. If I use the size of the font, it works with some fonts, but not with others.
Any idea ?
(hope you understood me notwithstanding my bad english)
I got this one in the dictionnary. It's "nonobstant" in french :rolleyes: