summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlgs/lib/caption.ps
diff options
context:
space:
mode:
authorReinhard Kotucha <reinhard.kotucha@web.de>2010-05-12 19:25:45 +0000
committerReinhard Kotucha <reinhard.kotucha@web.de>2010-05-12 19:25:45 +0000
commitdc55d4f5cde421a3704c183bc6ceb3fcdb6b0653 (patch)
treedb0890c2f5f2714d527a42ad3fb7955ac5b1f545 /Master/tlpkg/tlgs/lib/caption.ps
parent053ead4487e776b05721ec15b941fe0bc1b7d513 (diff)
tlgs: 8.70 => 8.71
git-svn-id: svn://tug.org/texlive/trunk@18215 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/tlgs/lib/caption.ps')
-rw-r--r--[-rwxr-xr-x]Master/tlpkg/tlgs/lib/caption.ps112
1 files changed, 56 insertions, 56 deletions
diff --git a/Master/tlpkg/tlgs/lib/caption.ps b/Master/tlpkg/tlgs/lib/caption.ps
index a41d99c5481..6f0a7d31000 100755..100644
--- a/Master/tlpkg/tlgs/lib/caption.ps
+++ b/Master/tlpkg/tlgs/lib/caption.ps
@@ -1,56 +1,56 @@
-%!
-% Copyright (C) 1995 Aladdin Enterprises. All rights reserved.
-%
-% This software is provided AS-IS with no warranty, either express or
-% implied.
-%
-% This software is distributed under license and may not be copied,
-% modified or distributed except as expressly authorized under the terms
-% of the license contained in the file LICENSE in this distribution.
-%
-% For more information about licensing, please refer to
-% http://www.ghostscript.com/licensing/. For information on
-% commercial licensing, go to http://www.artifex.com/licensing/ or
-% contact Artifex Software, Inc., 101 Lucas Valley Road #110,
-% San Rafael, CA 94903, U.S.A., +1(415)492-9861.
-
-% $Id: caption.ps 6300 2005-12-28 19:56:24Z giles $
-% Add a "caption" to the bottom of each page.
-/captionsize 20 def
-/caption
- { /Helvetica //captionsize selectfont
- (Printed by Aladdin's XXYYZZ) show
- /Symbol //captionsize selectfont
- (\324) show % trademarkserif
- /Helvetica //captionsize selectfont
- ( product) show
- } bind def
-
-10 dict begin
-gsave
- initgraphics
- clippath pathbbox
- pop exch 36 add /by exch def
- % We can't use stringwidth, so we have to show and measure.
- gsave
- 0 0 0 0 rectclip
- 0 0 moveto caption currentpoint pop /bw exch def
- grestore
- add bw sub 2 div /bx exch def
- % We don't have the font bbox available, so we guess.
- /bh captionsize 1.05 mul def
-grestore
-/showcaption
- { gsave
- initgraphics
- //bx 9 sub //by 9 sub //bw 18 add //bh 18 add
- 1 setgray 4 copy rectfill 0 setgray 1.5 setlinewidth rectstroke
- //bx //by moveto //caption exec
- grestore
- } bind def
-<< /EndPage [
- /showcaption load /exec load
- currentpagedevice /EndPage get /exec load
- ] cvx
->> setpagedevice
-end
+%!
+% Copyright (C) 1995 Aladdin Enterprises. All rights reserved.
+%
+% This software is provided AS-IS with no warranty, either express or
+% implied.
+%
+% This software is distributed under license and may not be copied,
+% modified or distributed except as expressly authorized under the terms
+% of the license contained in the file LICENSE in this distribution.
+%
+% For more information about licensing, please refer to
+% http://www.ghostscript.com/licensing/. For information on
+% commercial licensing, go to http://www.artifex.com/licensing/ or
+% contact Artifex Software, Inc., 101 Lucas Valley Road #110,
+% San Rafael, CA 94903, U.S.A., +1(415)492-9861.
+
+% $Id: caption.ps 6300 2005-12-28 19:56:24Z giles $
+% Add a "caption" to the bottom of each page.
+/captionsize 20 def
+/caption
+ { /Helvetica //captionsize selectfont
+ (Printed by Aladdin's XXYYZZ) show
+ /Symbol //captionsize selectfont
+ (\324) show % trademarkserif
+ /Helvetica //captionsize selectfont
+ ( product) show
+ } bind def
+
+10 dict begin
+gsave
+ initgraphics
+ clippath pathbbox
+ pop exch 36 add /by exch def
+ % We can't use stringwidth, so we have to show and measure.
+ gsave
+ 0 0 0 0 rectclip
+ 0 0 moveto caption currentpoint pop /bw exch def
+ grestore
+ add bw sub 2 div /bx exch def
+ % We don't have the font bbox available, so we guess.
+ /bh captionsize 1.05 mul def
+grestore
+/showcaption
+ { gsave
+ initgraphics
+ //bx 9 sub //by 9 sub //bw 18 add //bh 18 add
+ 1 setgray 4 copy rectfill 0 setgray 1.5 setlinewidth rectstroke
+ //bx //by moveto //caption exec
+ grestore
+ } bind def
+<< /EndPage [
+ /showcaption load /exec load
+ currentpagedevice /EndPage get /exec load
+ ] cvx
+>> setpagedevice
+end