From: imiyazaki Date: Mon, 6 Sep 2004 13:54:51 +0000 (+0000) Subject: return error if IDS data file is irregular. X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7262ec27140c0116841c52c5f34f55a690308b61;p=chise%2Fomega.git return error if IDS data file is irregular. correct path to makefonts.pl. --- diff --git a/chise2otf/chise2otf b/chise2otf/chise2otf index 4659a4e..60af335 100755 --- a/chise2otf/chise2otf +++ b/chise2otf/chise2otf @@ -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);