return error if IDS data file is irregular.
authorimiyazaki <imiyazaki>
Mon, 6 Sep 2004 13:54:51 +0000 (13:54 +0000)
committerimiyazaki <imiyazaki>
Mon, 6 Sep 2004 13:54:51 +0000 (13:54 +0000)
correct path to makefonts.pl.

chise2otf/chise2otf

index 4659a4e..60af335 100755 (executable)
@@ -24,7 +24,7 @@ require 5.008;
 # currently does not work, so...
 $opt_use_kage_for_Ext_B=0;
 
-my $makefonts="/usr/local/share/texmf/omega/ocp/local/chise/makefonts.pl";
+my $makefonts="/usr/local/share/texmf/omega/ocp/chise_rqd/chise/makefonts.pl";
 my $exec_makefonts=0;
 my $geta=pack("S",8750|0x8080);
 
@@ -130,6 +130,8 @@ if(-e $idsdata_file){
            $font_start=$1,$ids_start=$2;
        }elsif(m/^(.*?)\t(\d+)\t(\d+)/){
            $ids{$1}=[$2,$3,];
+       }else{
+           die "Irregular IDS file: $idsdata_file.\n";
        }
     }
     seek(IDSDATA,0,0);