replace $char to \rule if $char does not have IDS.
authorimiyazaki <imiyazaki>
Fri, 24 Oct 2003 14:11:58 +0000 (14:11 +0000)
committerimiyazaki <imiyazaki>
Fri, 24 Oct 2003 14:11:58 +0000 (14:11 +0000)
outCMAP

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