]> git.cameronkatri.com Git - mandoc.git/commit
The page footer line (psmarg) is created in ps_begin(), and the
authorIngo Schwarze <schwarze@openbsd.org>
Wed, 25 Oct 2017 20:48:48 +0000 (20:48 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Wed, 25 Oct 2017 20:48:48 +0000 (20:48 +0000)
commit0a6870bb8da5aa8cf6bb45c632846ec269ad95c3
tree5b71d323078e167e65fbf932ba73ec265e466501
parent510dcb54fd61cdb212e16acc8c5bd71017f5b8e7
The page footer line (psmarg) is created in ps_begin(), and the
last call writing to it is always ps_endline(), which ends with
ps_pclose(), which prints "ET" (end text).

Consequently, do not print another instance of "ET" in ps_closepage()
after the footer line and before the "endstream" for the page.

Fixing a PDF syntax error found while investigating the bug report
from Jan Stary that also resulted in the previous commit.
term_ps.c