On the case that the coordinate values of the imagettfbbox text of the GD2 library function of PHP are outside the border.

[problems encountered]

in the chapter "creating Images" in the book PHP and MySQL Web Development, when introducing the GD2 library function imagettfbbox , there is a sentence that reads

The coordinate values of
text may also be outside the border. For example, the text might actually start at the x coordinate value-1.

I haven"t figured out how this situation came into being. I hope the master will give me some advice!

the normal situation is as follows:
imagettfbbox

Php
Mar.20,2021

for example, if your text is Our Company, if you want Company to appear at the front, you can use negative x coordinates to display different text by moving the coordinates instead of changing the text

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3ef5b-2c463.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3ef5b-2c463.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?