Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 2020 08:57:32 +0000 (UTC)
From:      Marc Fonvieille <blackend@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r54073 - head/share/mk
Message-ID:  <202004240857.03O8vWCr010045@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: blackend
Date: Fri Apr 24 08:57:32 2020
New Revision: 54073
URL: https://svnweb.freebsd.org/changeset/doc/54073

Log:
  Set papersize to A4 as a workaround to the generation of empty .eps
  files that may occur under certain circumstances.  This is only
  used to generate images with boundingboxes.
  Related to ports Bug 234126.
  
  Obtained from: Dima Panov <fluffy@FreeBSD.org>

Modified:
  head/share/mk/doc.commands.mk

Modified: head/share/mk/doc.commands.mk
==============================================================================
--- head/share/mk/doc.commands.mk	Fri Apr 24 00:20:43 2020	(r54072)
+++ head/share/mk/doc.commands.mk	Fri Apr 24 08:57:32 2020	(r54073)
@@ -139,15 +139,15 @@ PNMTOPSOPTS?=	-noturn ${PNMTOPSFLAGS}
 EPSTOPDF?=	${PREFIX}/bin/epstopdf
 EPSTOPDFOPTS?=	${EPSTOPDFFLAGS}
 #
-PIC2PS?=	${GROFF} -p -S -Wall -mtty-char -man
+PIC2PS?=	${GROFF} -p -P-pa4 -S -Wall -mtty-char -man
 #
 PS2EPS?=	${PREFIX}/bin/gs
 PS2EPSOPTS?=	-q -dNOPAUSE -dSAFER -dDELAYSAFER \
-		-sPAPERSIZE=letter -r72 -sDEVICE=bit \
+		-sPAPERSIZE=a4 -r72 -sDEVICE=bit \
 		-sOutputFile=/dev/null ${PS2EPSFLAGS} ps2epsi.ps
 PS2BBOX?=	${PREFIX}/bin/gs
 PS2BBOXOPTS?=	-q -dNOPAUSE -dBATCH -dSAFER -dDELAYSAFER \
-		-sPAPERSIZE=letter -r72 -sDEVICE=bbox \
+		-sPAPERSIZE=a4 -r72 -sDEVICE=bbox \
 		-sOutputFile=/dev/null ${PS2BBOXFLAGS}
 
 #



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004240857.03O8vWCr010045>