quote:
when fontfile does not begin with a leading '/', '.ttf' will be appended to the filename and the library will attempt to search for that filename along a library-defined font path.
That tells me this:
For custom fonts relative to the current dir, have a '/' as the first character (get rid of that dot). Otherwise (if you want to use a default font), no slash.