DEFAULT_FONTPATH in gd.h and gdft.c

Issue #40 resolved
Marcin Wojdyr created an issue

If DEFAULT_FONTPATH is not set when building (and it's not from CMakeLists.txt) it is set in the code in two places, in gd.h and gdft.c (actually the latter is never used, because gd.h already has set it.). I'd like to add a reasonable default value for Windows, but it would be good to first move everything to one place. Any thoughts?

Comments (4)

  1. Pierre Joye

    Agreed, also we should better expose GDFONTPATH too :)

    You can take a look at the PHP's one, afair I set it to windows font dirs.

  2. Log in to comment