Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jan 2017 12:23:20 -0500
From:      scrat <baho-utot@columbus.rr.com>
To:        freebsd-doc@freebsd.org
Subject:   Re: Building docs
Message-ID:  <facb31c6-d993-cd54-8ccc-d1dd5a40f58a@columbus.rr.com>
In-Reply-To: <c925a3f0-d6e6-6832-c793-06efd9da1688@columbus.rr.com>
References:  <5ff12bca-f3c1-aef9-d665-66e4adf95f7e@columbus.rr.com> <alpine.BSF.2.20.1701060921150.68314@wonkity.com> <c925a3f0-d6e6-6832-c793-06efd9da1688@columbus.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?facb31c6-d993-cd54-8ccc-d1dd5a40f58a>