I didn't see this anywhere in the documentation or forum, so here's a summary of how to get fonts working on FreeBSD most easily.
1. Install the fontconfig and webfonts ports
2. Install Prince (e.g. prince-6.0r6-freebsd63.tar.gz)
3. Edit prince/bin/prince and add the line
This avoids "prince: internal error: no available fonts" or having to put paths to ttf files in your CSS.
James
1. Install the fontconfig and webfonts ports
2. Install Prince (e.g. prince-6.0r6-freebsd63.tar.gz)
3. Edit prince/bin/prince and add the line
export FONTCONFIG_PATH=/usr/X11R6/etc/fonts
before the last lineThis avoids "prince: internal error: no available fonts" or having to put paths to ttf files in your CSS.
James