summaryrefslogtreecommitdiff
path: root/doc/head.ps
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-05-16 19:33:27 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-05-16 19:33:27 +0000
commit365dc47adb09b11f5ac14b46e9cfed324c8b9d3b (patch)
tree260d33655be9ad4be0e8e87b83f4ef6bb0758fe2 /doc/head.ps
parent2a584cf575fadae804a8ee8f4ff47486f50be4d2 (diff)
downloadnasm-365dc47adb09b11f5ac14b46e9cfed324c8b9d3b.tar.gz
nasm-365dc47adb09b11f5ac14b46e9cfed324c8b9d3b.tar.bz2
nasm-365dc47adb09b11f5ac14b46e9cfed324c8b9d3b.zip
Include the NASM logo from the specified EPS file rather than hard-coding it.
Diffstat (limited to 'doc/head.ps')
-rw-r--r--doc/head.ps25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/head.ps b/doc/head.ps
index 4cfc0ea..b5e9153 100644
--- a/doc/head.ps
+++ b/doc/head.ps
@@ -367,3 +367,28 @@
%
[/PageMode /UseOutlines /DOCVIEW pdfmark % Display bookmarks
+%
+% Functions to include EPS
+%
+/BeginEPSF {
+ /Before_EPSF_State save def
+ /dict_count countdictstack def
+ /op_count count 1 sub def
+ userdict begin
+ /showpage {} def
+ 0 setgray 0 setlinecap
+ 1 setlinewidth 0 setlinejoin
+ 10 setmiterlimit [ ] 0 setdash newpath
+ /languagelevel where
+ {
+ pop languagelevel
+ 1 ne {
+ false setstrokeadjust false setoverprint
+ } if
+ } if
+} bind def
+/EndEPSF {
+ count op_count sub {pop} repeat
+ countdictstack dict_count sub {end} repeat
+ Before_EPSF_State restore
+} bind def