Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
385f7408
Commit
385f7408
authored
Feb 20, 2001
by
Gerd Moellmann
Browse files
Code fix to support `ps-zebra-stripe-follow'
funcionality enhancement. (doColumnZebra): Code fix.
parent
2bd80d73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
etc/ps-prin1.ps
etc/ps-prin1.ps
+3
-3
No files found.
etc/ps-prin1.ps
View file @
385f7408
...
...
@@ -343,7 +343,7 @@ StandardEncoding 46 82 getinterval aload pop
/doColumnZebra
{
/lpc
exch
def
gsave
ZebraFollow
{
ZebraFollow
1
and
0
ne
{
/H
ZebraHeight
zebra-line
ZebraHeight
mod
sub
def
/lpc
lpc
H
sub
def
zebra-line
double-zebra
mod
ZebraHeight
lt
...
...
@@ -355,8 +355,8 @@ StandardEncoding 46 82 getinterval aload pop
/zebra-line
zebra-line
LinesPerColumn
add
def
}
if
lpc
dup
double-zebra
idiv
{
ZebraHeight
doZebra
0
yiter
rmoveto
}
repeat
double-zebra
mod
dup
0
le
{
pop
}
{
dup
ZebraHeight
gt
{
pop
ZebraHeight
}
if
doZebra
}
ifelse
double-zebra
mod
dup
0
le
{
pop
}
{
dup
ZebraHeight
gt
ZebraFollow
2
and
0
ne
or
{
pop
ZebraHeight
}
if
doZebra
}
ifelse
grestore
}
def
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment