diff lisp/ps-mule.el @ 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 6a54f94240ca
children a4c269a9f159
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