Forum How do I...?

Setup Font Lookup Directory

somnath
Hi,

How can I instruct Prince to look up a directory containing Fonts on the server? So that I do not have to update fonts.css every time a new font is available.


Somnath
mikeday
There is no option for this, as it would have negative performance implications if every time Prince started it had to scan a directory for viable fonts. However, you can do this yourself by calling "prince --scanfonts DIR" from a shell script and redirecting the output to your fonts.css file.