I am using JPgraph which uses fonts from system font list.
However in infinityfree, JPGraph shows error regarding fonts which are not readable at ‘/usr/share/fonts’
Hereafter you’ll find the error that it shows:
By cheking the web, i found that it is related to the hosting server. Please see the response in the following stackoverflow topic.
So basing on it, can we know the location of ttf fonts in this server?
As additional information, please check the full message that it appears:
25092 There is either a configuration problem with TrueType or a problem reading font file "/home/vol7_1/epizy.com/epiz_23661608/htdocs/librairies/jpgraph/fonts/arialbd.ttf" Make sure file exists and is in a readable place for the HTTP process. (If 'basedir' restriction is enabled in PHP then the font file must be located in the document root.). It might also be a wrongly installed FreeType library. Try upgrading to at least FreeType 2.1.13 and recompile GD with the correct setup so it can find the new FT library.
I have checked your account, and I cannot find a folder libraries in your htdocs folder. I can see a libraries folder in your main account directory, but those are just empty directories because you cannot upload files outside htdocs directories.
Can you please try to upload the libraries folder to your htdocs folder? That should make sure the file exists.
Referring back to the original error message, I see that the libraries folder structure looks OK now and are at the right place. However, I don’t see a file arialbd.ttf in that folder, only some other fonts. Can you please make sure that all required fonts have been uploaded?
Also, there isn’t a directory with system fonts available to use in your software. If you need to use any fonts, I think you’ll have to upload all of them yourself to your account (even common ones).