diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/utilities/t1tools/pfb-enc.bat |
Initial commit
Diffstat (limited to 'fonts/utilities/t1tools/pfb-enc.bat')
-rw-r--r-- | fonts/utilities/t1tools/pfb-enc.bat | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fonts/utilities/t1tools/pfb-enc.bat b/fonts/utilities/t1tools/pfb-enc.bat new file mode 100644 index 0000000000..a8c546b49b --- /dev/null +++ b/fonts/utilities/t1tools/pfb-enc.bat @@ -0,0 +1,11 @@ +if exist %1.pfb goto los
+echo kein .pfb-Fontfile da.
+goto end
+
+:los
+echo MaxIndex 255 > %1.enc
+echo MaxEncoded 255 >> %1.enc
+echo StartEncoding >> %1.enc
+sed -e /eexec/d -e /eexec/q -e "s,^dup \(.*\)/\(.*\) put$,\1\2," -e tx -e d -e :x %1.pfb >> %1.enc
+echo EndEncoding >> %1.enc
+:end
|