Commit 5ebee715c8d25d27986880fee066b574f50ef9d0
Allow disabling logo border
Charles Lehner committed on 4/13/2016, 7:39:50 PMParent: c281250d2da897407779b8e4f1129d45444763ca
Files changed
freecheck | changed |
freecheck | ||
---|---|---|
@@ -427,8 +427,12 @@ | ||
427 | 427 … | /LogoForm where { |
428 | 428 … | pop % discard dict |
429 | 429 … | gsave |
430 | 430 … | |
431 … | +__END_OF_POSTSCRIPT__ | |
432 … | + | |
433 … | + if ($Definitions{'LogoBorder'} > 0) { | |
434 … | + print <<"__END_OF_POSTSCRIPT__"; | |
431 | 435 … | /LogoBorder where { |
432 | 436 … | pop % discard dict |
433 | 437 … | newpath |
434 | 438 … | LeftMargin LogoBorder 2 div add |
@@ -439,10 +443,14 @@ | ||
439 | 443 … | LogoWidth LogoBorder sub neg 0 rlineto |
440 | 444 … | closepath |
441 | 445 … | LogoBorder setlinewidth stroke |
442 | 446 … | } if |
443 | - | |
447 … | +__END_OF_POSTSCRIPT__ | |
444 | 448 … | |
449 … | + } | |
450 … | + | |
451 … | + print <<"__END_OF_POSTSCRIPT__"; | |
452 … | + | |
445 | 453 … | % Logo is placed at the top-left corner of the check |
446 | 454 … | LeftMargin CheckHeight TopMargin sub translate |
447 | 455 … | |
448 | 456 … | LogoForm /BBox get aload pop % ^ llx lly urx ury |
Built with git-ssb-web