From 49c06a81dbccb5bcd5307393068de30762020635 Mon Sep 17 00:00:00 2001 From: imiyazaki Date: Tue, 11 Nov 2003 13:54:27 +0000 Subject: [PATCH] remove utf8::decode(). add =jis-x0208-1983/1990 in &get_output_char(). --- chise2otf/chise2otf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/chise2otf/chise2otf b/chise2otf/chise2otf index bf9418f..65fef19 100755 --- a/chise2otf/chise2otf +++ b/chise2otf/chise2otf @@ -229,7 +229,7 @@ sub de_tex_er{ $value=hex($value); } ($output_char)=&get_chars_matching($er_alias{$atr},$value); - utf8::decode($output_char); +# utf8::decode($output_char); } if($output_char){ return $before_er.$output_char; @@ -338,7 +338,10 @@ sub get_output_char{ $char=pack('U',$char_id); - if($out_char=&get_char_attribute($char,'=jis-x0208')){ + if($out_char=&get_char_attribute($char,'=jis-x0208') + or $out_char=&get_char_attribute($char,'=jis-x0208-1983') + or $out_char=&get_char_attribute($char,'=jis-x0208-1990') + ){ return pack("S",$out_char|0x8080); }else{ foreach $out_cs (@order){ -- 1.7.10.4