Hi Guys,
I've been having the below error on JPGraph 4.2.0:
JpGraph Error: 25092 There is either a configuration problem with TrueType or a
problem reading font file
"\\SGNA842.AMK.ST.COM\EWSWEB\wwwroot\library\jpgraph-4.2.0\src/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.
My Checklist:
1. USE_CACHE, CACHE_DIR, TTF_DIR are both amended and having the carrect path.
2. Notice the forward and back slash combination in the path above? It's weird because I already amended the TTF_DIR path in config file. It seems that it is taking the system root path but failed to use the correct slash on the containing folder.
3. My freetype version is currently 2.8.0
Please help :(
I'm thinking, maybe this version of JPGraph is not applicable to PHP7?
TIA masters!