From owner-freebsd-doc@freebsd.org Fri Jan 6 17:23:23 2017 Return-Path: Delivered-To: freebsd-doc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61855CA2D49 for ; Fri, 6 Jan 2017 17:23:23 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cdptpa-oedge", Issuer "cdptpa-oedge" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2A2FE1D21 for ; Fri, 6 Jan 2017 17:23:22 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [76.181.114.47] ([76.181.114.47:54724] helo=raspberrypi.bildanet.com) by cdptpa-omsmta01 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id F7/74-30010-982DF685; Fri, 06 Jan 2017 17:23:21 +0000 Received: from [192.168.1.40] (helo=desktop.example.org) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1cPYEa-0003PK-Qi for freebsd-doc@freebsd.org; Fri, 06 Jan 2017 12:23:20 -0500 From: scrat Subject: Re: Building docs To: freebsd-doc@freebsd.org References: <5ff12bca-f3c1-aef9-d665-66e4adf95f7e@columbus.rr.com> Message-ID: Date: Fri, 6 Jan 2017 12:23:20 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.6:25 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2017 17:23:23 -0000 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.