From: Kenichi Handa Date: Tue, 29 Mar 2005 05:48:10 +0000 (+0000) Subject: (ps-mule-printable-p): Return t if CHARSET is ascii or X-Git-Tag: ttn-vms-21-2-B4~1407 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=51bb954e7ad81cc91cdac77e82a3e73f264ec769;p=emacs.git (ps-mule-printable-p): Return t if CHARSET is ascii or latin-iso8859-1. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 78514349768..eec6cba623a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -4,6 +4,8 @@ ps-print-translation-table. (ps-mule-begin-job): Call find-charset-region/string with ps-print-translation-table. + (ps-mule-printable-p): Return t if CHARSET is ascii or + latin-iso8859-1. * ps-print.el (ps-print-translation-table): New variable. (ps-plot-region): Translate characters by diff --git a/lisp/ps-mule.el b/lisp/ps-mule.el index 3f66ba2368f..e0e9268c3de 100644 --- a/lisp/ps-mule.el +++ b/lisp/ps-mule.el @@ -511,7 +511,10 @@ element of the list." (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