Is there a problem? I just tried with the Ubuntu virtual server and worked with fonts without problems, although the version obtained from the repositories is 0.9.9, which is quite old. My process:
- Installed xserver, fluxbox, mupdf (viewer), chromium and wkhtmltopdf
- Got a terrific font (PonyRides)
- Ran mkfontdir, mkfontscale and fc-list (the font appeared on the list)
- Made test.html with one paragraph that used a custom font
wkhtmltopd test.html test.pdf
I checked the PDF locally and then on another computer, and the custom font even worked there, although I didn't have the font installed. http://temp-share.com/show/dPf3m39HW <- created by PDF (I hope that the link is not too temporary).
source share