summaryrefslogtreecommitdiff
path: root/font
diff options
context:
space:
mode:
authorwl <wl>2005-06-21 05:54:04 +0000
committerwl <wl>2005-06-21 05:54:04 +0000
commita12094c617e7b44dc7c4bc2b46789f457433f60d (patch)
tree9167b94d0cfb9e0eff4954a5cf8db5d7f2f7f62f /font
parent7687864912c1ab7d526c7ca1f863d70bc82789b8 (diff)
downloadgroff-a12094c617e7b44dc7c4bc2b46789f457433f60d.tar.gz
* font/devps/prologue.ps (EP): Dont' use `bind'. Reason: Using
`bind' to define a procedure which contains `showpage' means that an invocation of `showpage' may execute wrongly (the exact effect depending on the interpreter). Not usually a problem except under transformations, such as combining pages. (PEND): Don't call `clear'. Reason: Using `clear' in the definition of /PEND means that stack underflow will occur if the stack is deliberately non-empty before document inclusion. If included files are found to be generally badly behaved, we could replace the `clear' with `mark' in /PBEGIN and `cleartomark' in /PEND (I've never found this necessary).
Diffstat (limited to 'font')
-rw-r--r--font/devps/prologue.ps3
1 files changed, 1 insertions, 2 deletions
diff --git a/font/devps/prologue.ps b/font/devps/prologue.ps
index a0cdb60c..1ec2df77 100644
--- a/font/devps/prologue.ps
+++ b/font/devps/prologue.ps
@@ -91,7 +91,7 @@
/EP {
level0 restore
showpage
-} bind def
+} def
% centerx centery radius startangle endangle DA -
@@ -243,7 +243,6 @@
} bind def
/PEND {
- clear
countdictstack CNT sub { end } repeat
level1 restore
} bind def