On 01/06/17 11:38, scrat wrote:


On 01/06/17 11:22, Warren Block wrote:
On Fri, 6 Jan 2017, scrat wrote:

I am trying to render the documentation from the svn repo for the docs.

I have followed the fdp-primer as well as I can and installed
textproc/docproj.

Here is what I did

svn checkout https://svn.FreeBSD.org/doc/head ~/doc
cd ~/doc/en_US.ISO8859-1/books/handbook
make FORMATS="html pdf" DESTDIR="~/books/handbook" install


html works

pdf the text is rendered as ######### ############## ############# etc.

How to fix?

Did you install textproc/docproj as a package or a port?

I installed by ports using synth.  Built from 2017Q1 branch port.


The "#" symbols indicate a missing font, but that should have been
installed along with docproj.


I too believe it is a font but which one?

Do you know what fonts I need installed?


I have this sorted out as follows:

textproc/docproj did not install the following fonts

x11-fonts/gentium-plus
x11-fonts/droid-fonts-ttf
x11-fonts/lohit

Examining the Makefile for textproc/docproj

Shows

FONTS= ${LOCALBASE}/share/fonts/GentiumPlus/GentiumPlus-R.ttf:x11-fonts/gentium-plus \
        ${LOCALBASE}/share/fonts/Droid/DroidSans.ttf:x11-fonts/droid-fonts-ttf \
        ${LOCALBASE}/share/fonts/Lohit/Lohit-Bengali.ttf:x11-fonts/lohit \
        ${LOCALBASE}/share/fonts/dejavu/DejaVuSansMono.ttf:x11-fonts/dejavu
FONTS_CJK=${LOCALBASE}/share/fonts/TrueType/gkai00mp.ttf:chinese/arphicttf \
        ${LOCALBASE}/share/fonts/OTF/ipam.otf:japanese/font-ipa \
        
${LOCALBASE}/share/fonts/nanum-ttf/NanumBarunGothic.ttf:korean/nanumfonts-ttf

But those fonts where not installed by textproc/docproj


dejavu fonts was installed when I installed xorg, lumina and kde4


Thanks for the help and pointing me to the solution.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "[email protected]"

Reply via email to