I've got a QGIS setup running, except for the custom fonts. They work just fine on my desktop machine (OS X), but they don't work on the server (Debian Linux).
I've got the .ttf files installed in the system, so that should work. I also found something online about a fonts.txt file, so I created that:
Merriweather /usr/share/fonts/truetype/Merriweather-Regular.ttf Kingthings Calligraphica /usr/share/fonts/truetype/Kingthings_Calligraphica_2-webfont.ttf
but it doesn't seem to do anything. Unfortunately, documentation on this seems to be lacking. Has anyone got this working and can tell me how to correctly setup my fonts?