From 7262ec27140c0116841c52c5f34f55a690308b61 Mon Sep 17 00:00:00 2001 From: imiyazaki Date: Mon, 6 Sep 2004 13:54:51 +0000 Subject: [PATCH] return error if IDS data file is irregular. correct path to makefonts.pl. --- chise2otf/chise2otf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- 1.7.10.4