From: imiyazaki Date: Fri, 24 Oct 2003 14:11:58 +0000 (+0000) Subject: replace $char to \rule if $char does not have IDS. X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=1674f368b1ff6d1bdcc78bb0fc24a600fa81106b;p=chise%2Fomega.git replace $char to \rule if $char does not have IDS. --- diff --git a/outCMAP b/outCMAP index 19a893b..eedb485 100755 --- a/outCMAP +++ b/outCMAP @@ -207,7 +207,11 @@ while(<>){ "}\\selectfont\\char$ids{$char}[1]}",&add_break($i); next; }else{ - print &get_macro_for_ids(&get_ids($char)),&add_break($i); + if($ids=&get_ids($char)){ + print &get_macro_for_ids($ids),&add_break($i); + }else{ + print '\rule{1ex}{1ex}',&add_break($i); + } } } }