From 1674f368b1ff6d1bdcc78bb0fc24a600fa81106b Mon Sep 17 00:00:00 2001 From: imiyazaki Date: Fri, 24 Oct 2003 14:11:58 +0000 Subject: [PATCH] replace $char to \rule if $char does not have IDS. --- outCMAP | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); + } } } } -- 1.7.10.4