From: imiyazaki Date: Fri, 24 Oct 2003 14:21:41 +0000 (+0000) Subject: correct range of &latin_parse(). X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fa125ad08054e85e395fe581b8056e5a6e2d21a;p=chise%2Fomega.git correct range of &latin_parse(). --- diff --git a/outCMAP b/outCMAP index eedb485..a968b01 100755 --- a/outCMAP +++ b/outCMAP @@ -176,7 +176,7 @@ while(<>){ if($char_id<=0x20){ print $chars[$i]; next; - }elsif($char_id>0x20 and $char_id<=0x02ff){ + }elsif($char_id>0x20 and $char_id<=0x02af){ # Basic Latin # Latin-1 Supplement # Latin Extended-A @@ -281,7 +281,7 @@ sub latin_parse{ $i++; while($i<=$#chars){ $char_id=unpack("U",$chars[$i]); - if($char_id<=0xff){ + if($char_id<=0x02af){ $out_str.=pack("U",$char_id); }else{ $i--;