changeset 61076:d1615c2ff814

(ps-mule-printable-p): Return t if CHARSET is ascii or latin-iso8859-1.
author Kenichi Handa <handa@m17n.org>
date Tue, 29 Mar 2005 05:47:45 +0000
parents e27a03f92707
children d80d57b158e8
files lisp/ps-mule.el
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ps-mule.el	Tue Mar 29 05:07:34 2005 +0000
+++ b/lisp/ps-mule.el	Tue Mar 29 05:47:45 2005 +0000
@@ -511,7 +511,10 @@
 
 (defsubst ps-mule-printable-p (charset)
   "Non-nil if characters in CHARSET is printable."
-  (ps-mule-get-font-spec charset 'normal))
+  ;; ASCII and Latin-1 are always printable.
+  (or (eq charset 'ascii)
+      (eq charset 'latin-iso8859-1)
+      (ps-mule-get-font-spec charset 'normal)))
 
 (defconst ps-mule-external-libraries
   '((builtin nil nil