chiark
/
gitweb
/
~ianmdlvl
/
quacks.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1704904
)
make it possible to align text upwards
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 3 Dec 2020 16:53:23 +0000
(16:53 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 3 Dec 2020 16:53:23 +0000
(16:53 +0000)
pumpkin-books.ps.pl
patch
|
blob
|
history
diff --git
a/pumpkin-books.ps.pl
b/pumpkin-books.ps.pl
index 58ba10f2636daed5ad1beab8b59e4d5820060371..c9e38ada3402213e763eb2d0a7f240170262d2b1 100755
(executable)
--- a/
pumpkin-books.ps.pl
+++ b/
pumpkin-books.ps.pl
@@
-56,7
+56,7
@@
sub exposition ($) {
my $o = <<END;
/Times-Roman findfont $fontsz scalefont setfont $black
END
-
$text =~ s/\s+$//
;
+
chomp $text
;
my @lines = split /\n/, $text;
foreach my $y (0..$#lines) {
my $l = $lines[$y];