correct range of &latin_parse().
authorimiyazaki <imiyazaki>
Fri, 24 Oct 2003 14:21:41 +0000 (14:21 +0000)
committerimiyazaki <imiyazaki>
Fri, 24 Oct 2003 14:21:41 +0000 (14:21 +0000)
outCMAP

diff --git a/outCMAP b/outCMAP
index eedb485..a968b01 100755 (executable)
--- 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--;