From 6fa125ad08054e85e395fe581b8056e5a6e2d21a Mon Sep 17 00:00:00 2001 From: imiyazaki Date: Fri, 24 Oct 2003 14:21:41 +0000 Subject: [PATCH] correct range of &latin_parse(). --- outCMAP | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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--; -- 1.7.10.4