; This script copies the JACOsub fonts to your fonts: directory.

echo "Your system clock MUST be set to the correct date*nbefore installing the fonts."

if not exists fonts/JACOsub.font
   echo "Cannot find any fonts to install!"
   wait 1
   quit
endif

failat 21
makedir fonts:JACOsub
makedir fonts:JACOsub_mono
makedir fonts:JACOsub_superhires

if EXISTS fonts:JACOsub/24e
   delete fonts:JACOsub/24e
endif
if EXISTS fonts:JACOsub/18e
   delete fonts:JACOsub/18e
endif

copy fonts/JACOsub.font fonts:
copy fonts/JACOsub_mono.font fonts:
copy fonts/JACOsub_superhires.font fonts:
copy fonts/JACOsub/#? fonts:JACOsub
copy fonts/JACOsub_mono/#? fonts:JACOsub_mono
copy fonts/JACOsub_superhires/#? fonts:JACOsub_superhires

; if all copied OK, then delete the fonts from distribution directory
;if not warn
;   delete fonts all quiet
;endif
