diff options
Diffstat (limited to 'Master/texmf-dist/doc/fonts/xcharter/altone.py')
-rwxr-xr-x | Master/texmf-dist/doc/fonts/xcharter/altone.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/fonts/xcharter/altone.py b/Master/texmf-dist/doc/fonts/xcharter/altone.py index 48de0bf4f4c..954c763ae66 100755 --- a/Master/texmf-dist/doc/fonts/xcharter/altone.py +++ b/Master/texmf-dist/doc/fonts/xcharter/altone.py @@ -3,6 +3,8 @@ import os, sys # Run this in the root directory containing afm files and a texmf branch +# Before running, all encoding files a_* should be renamed to xch_* +# and the corresponding changes applied to xcharter.map encfiles=set() enclst=[] newlines=[] @@ -47,9 +49,10 @@ for j in range(len(vflst)): print s if os.system(s)==0: if os.system("/usr/texbin/vptovf "+a)==0: - os.system("/bin/cp -fp "+a+".tfm texmf/fonts/tfm/public/xcharter") - os.system("/bin/cp -fp "+a+".vf texmf/fonts/vf/public/xcharter") - + os.system("/bin/mv -f "+a+".tfm texmf/fonts/tfm/public/xcharter") + os.system("/bin/mv -f "+a+"--base.tfm texmf/fonts/tfm/public/xcharter") + os.system("/bin/mv -f "+a+".vf texmf/fonts/vf/public/xcharter") + with open("texmf/fonts/map/dvips/xcharter/XCharter.map",'a+') as f: for s in newlines: f.write(s+'\n')
\ No newline at end of file |