GD library imagettftext () prompt cannot open font file

do I feel the path is right? Why is it always prompted that the font file cannot be opened?

Php
Mar.15,2021

I'm not sure what the problem is. Give me a debugging idea

.
  1. check the parameters and FAQs against the official documentation. It seems to have been said in the document that there is a space in the gd lower version + path, which will cause the font not to be found in the report. Although there is no space in this, the Chinese path is not recommended.
  2. check the font permissions to see if they are editable. I remember seeing it in the properties. If not, find a font with editable attributes and try again, such as the open source font should be fine.
  3. Try writing the
  4. path directly. Absolutely. But it shouldn't be a big problem here.

Thank you for the invitation!

1 `./`  `../` 
2 

        dirname(__FILE__) . '/fonts/micross.ttf'

I haven't seen anything on the plane these days. Sorry

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-1b39176-2c14a.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-1b39176-2c14a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?