pointtools

Simple point utilities to hold text presentations.
git clone git://r-36.net/pointtools
Log | Files | Refs | LICENSE

commit 9d9bd91369117238963de553f570318b6fb42437
parent dd0a478f3e3154a2c890c8debdd58ce5ea8cf62e
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sat,  2 May 2020 15:04:39 +0200

Make enscript support at least some UTF-8.

Diffstat:
bin/point2pdf | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/bin/point2pdf b/bin/point2pdf @@ -6,5 +6,8 @@ name="slides" [ $# -gt 0 ] && name="$1" -enscript *.txt -Brf "Courier16" -p - | ps2pdf - "${name}.pdf" +enscript *.txt -Brf "Courier16" \ + -I "cat %s | iconv -c -f utf-8 -t iso-8859-1//translit" \ + -p - \ + | ps2pdf - "${name}.pdf"