Dj_Jestar said:Nope, not a native to php thing anyway.
You should know what your own 'font path' is anyway. The OS may have an env var for it, thus you could shell_exec('echo $FONT_PATH'); where $FONT_PATH is replaced for the actual env var, but other than that you'll need to hard-wire it into your code.
Dj_Jestar said:Nope, not a native to php thing anyway.
You should know what your own 'font path' is anyway. The OS may have an env var for it, thus you could shell_exec('echo $FONT_PATH'); where $FONT_PATH is replaced for the actual env var, but other than that you'll need to hard-wire it into your code.
<?php
var_dump( getenv('GDFONTPATH') );
?>