Added some explainotion for working with other encodings - enscript - GNU Enscript
 (HTM) git clone git://thinkerwim.org/enscript.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit f371f7b7a0b0784739ac3164e802f0d09c7de8ae
 (DIR) parent 8dd15a323fa471f3ec726fd9a274c37123cb90f5
 (HTM) Author: Wim Stockman <wim@thinkerwim.org>
       Date:   Mon, 13 Mar 2023 13:49:43 +0100
       
       Added some explainotion for working with other encodings
       
       Diffstat:
         M README                              |       9 +++++++++
         M tools/convertfontto.sh              |      10 +++++++++-
       
       2 files changed, 18 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/README b/README
       @@ -231,3 +231,12 @@ option `DownloadFont: name'.
          option `-o' lists missing characters.  In GNU enscript `-o' is an
          alias for `-p' and missing characters are listed with an option `-O'.
        
       +* Example Usage:
       +
       +1)        Defaults: create document in Helvetica 14 with default headers
       +                enscript -f Helvetica@14 -o myfile.ps myfile.txt
       +2)        Create document with a Latin 9 font encoding from example utf-8 with no header
       +                cat myfile.txt | iconv -f utf-8 -t latin9 | enscript -f FreeMono@14 -B -o myfile.ps
       +                Don't forget to install the latin9 font afm! 
       +                You can use the tool convertfontto.sh
       +        
 (DIR) diff --git a/tools/convertfontto.sh b/tools/convertfontto.sh
       @@ -1,9 +1,17 @@
        #!/usr/bin/env bash
       +# Small bashscript to convert a font to another encoding.
       +# USAGE 
       +#         convertfontto fontname outputfontname encoding destination
       +#         place the destination into your .enscriptrc file or enscript.cfg
       +#         Defaults are :         encoding - Latin9
       +#                         outputfontname: fontname-encoding.afm
       +#                         destination: $HOME/.config/enscript/afm
       +#
        set -eu
        font=${1?Please give a font};
        encoding=${3:-iso8859-15};
        outputfile=${2:-"${font%.*}-$encoding"}
       -destination=${4:-~/fonts};
       +destination=${4:-~/.config/enscript/afm};
        fontforge -lang=ff -c "Open(\"$font\");Reencode(\"$encoding\");Generate(\"$outputfile.pfa\")";
        mkdir -p $destination
        cp "$outputfile.pfa" "$destination/"