Fresco/Babylon/src Dictionary.cc,1.19,1.20

Tobias Hunger <[email protected]> Mon, 02 Feb 2004 00:21:44 +0100
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/Babylon/src
In directory purcel:/tmp/cvs-serv9606/src

Modified Files:
	Dictionary.cc 
Log Message:
Improve is_Printable() to work 95% of the time. Need to read up on the
standard for the other 5%.


Index: Dictionary.cc
===================================================================
RCS file: /cvs/fresco/Fresco/Babylon/src/Dictionary.cc,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- Dictionary.cc	28 Jan 2004 15:22:38 -0000	1.19
+++ Dictionary.cc	1 Feb 2004 23:20:23 -0000	1.20
@@ -720,7 +720,7 @@
 
 bool Dictionary::is_Printable(const UCS4 uc) const throw (Block_Error)
 {
-    return comb_class(uc) == CC_VIRAMAS;
+    return category(uc) != CAT_Cc;
 }
 
 bool Dictionary::is_Titlecase(const UCS4 uc) const throw (Block_Error)