svn commit: r54073 - head/share/mk

Marc Fonvieille <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
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 <[email protected]>

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}
 
 #
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.