summaryrefslogtreecommitdiff
path: root/Master/xemtex/gslib/pftogsf.bat
diff options
context:
space:
mode:
Diffstat (limited to 'Master/xemtex/gslib/pftogsf.bat')
-rw-r--r--Master/xemtex/gslib/pftogsf.bat20
1 files changed, 20 insertions, 0 deletions
diff --git a/Master/xemtex/gslib/pftogsf.bat b/Master/xemtex/gslib/pftogsf.bat
new file mode 100644
index 00000000000..3808852cacd
--- /dev/null
+++ b/Master/xemtex/gslib/pftogsf.bat
@@ -0,0 +1,20 @@
+@echo off
+@rem $Id: pftogsf.bat,v 1.2 2000/05/20 20:53:05 lpd Exp $
+
+rem ******************************
+rem * Convert .pf? files to .gsf *
+rem ******************************
+
+call gssetgs.bat
+echo (wrfont.ps) run (unprot.ps) run unprot >_temp_.ps
+echo systemdict /definefont. /definefont load put >>_temp_.ps
+echo systemdict /definefont { userdict /LFN 3 index put definefont. } bind put >>_temp_.ps
+echo ARGUMENTS 0 get (r) file .loadfont LFN findfont setfont prunefont reprot >>_temp_.ps
+echo ARGUMENTS 1 get (w) file dup writefont closefile quit >>_temp_.ps
+rem for %%f in (cyr cyri) do %GSC% -q -dNODISPLAY -dWRITESYSTEMDICT -- _temp_.ps fonts\pfa\%%f.pfa fonts\%%f.gsf
+rem for %%f in (ncrr ncrb ncrri ncrbi) do %GSC% -q -dNODISPLAY -dWRITESYSTEMDICT -- _temp_.ps fonts\pfa\%%f.pfa fonts\%%f.gsf
+rem for %%f in (bchr bchb bchri bchbi) do %GSC% -q -dNODISPLAY -dWRITESYSTEMDICT -- _temp_.ps fonts\pfa\%%f.pfa fonts\%%f.gsf
+rem for %%f in (putr putb putri putbi) do %GSC% -q -dNODISPLAY -dWRITESYSTEMDICT -- _temp_.ps fonts\pfa\%%f.pfa fonts\%%f.gsf
+rem for %%f in (n019003l n021003l u003043t u004006t) do %GSC% -q -dNODISPLAY -dWRITESYSTEMDICT -- _temp_.ps fonts\%%f.gsf %%f.gsf
+for %%f in (hig_____ kak_____) do %GSC% -q -dNODISPLAY -dWRITESYSTEMDICT -- _temp_.ps fonts\pfb\%%f.pfb %%f.gsf
+rem %GSC% -q -dNODISPLAY -dWRITESYSTEMDICT -- _temp_.ps allfonts\baxter.pfb baxter.gsf