GNU bug report logs - #7197
23.2; Cannot print the Euro-Symbol

Previous Next

Package: emacs;

Reported by: "Rommerskirchen, Heinrich (NSN - DE/Munich)" <heinrich.rommerskirchen <at> nsn.com>

Date: Tue, 12 Oct 2010 16:00:03 UTC

Severity: normal

Tags: moreinfo, unreproducible

Found in version 23.2

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 7197 <at> debbugs.gnu.org (full text, mbox):

From: Kenichi Handa <handa <at> m17n.org>
To: "Rommerskirchen\,
	Heinrich \(NSN - DE\/Munich\)" <heinrich.rommerskirchen <at> nsn.com>
Cc: 7197 <at> debbugs.gnu.org
Subject: Re: bug#7197: 23.2; Cannot print the Euro-Symbol
Date: Thu, 14 Oct 2010 11:16:56 +0900
In article <5F9F14EA10283840AB895720F4D024CA01A51BA2 <at> DEMUEXC035.nsn-intra.net>, "Rommerskirchen, Heinrich (NSN - DE/Munich)" <heinrich.rommerskirchen <at> nsn.com> writes:
> Create a new file containing just the Euro symbol. Save it, it is saved
> by default as utf-8. Print it with ps-print-buffer-with-faces
> (ps-spool-buffer-with-faces gives same results), the paper output
> contains
> a dollar symbol. If you store it with encoding latin-0, the print
> contains
> instead a question mark. Checking, I find that the same happens with the
> emacs 23.1 contained in my GNU/Linux distribution (OpenSuSE 11.1).

> In emacs 22.x printing worked after I added the following to my startup
> files
>     (setq ps-mule-font-info-database-default
>           '((latin-iso8859-15 (normal nil nil iso-latin-9))
>             (latin-iso8859-1  (normal nil nil iso-latin-1))))
> -- I copied this from Usenet not understanding much of emacs coding
> systems

I don't know why you can print Euro sign by that setting.
With the above setting, both EURO SIGN and CURRENCY SIGN are
encoded to the same byte #xA4, and usually it should be
printed as CURRENCY SIGN.

If you still have Emcas 22, please do:
  C-u M-x ps-print-buffer RET ~/temp.ps RET
and send me ~/temp.ps.

> -- but this is not accepted by emacs 23.x on GNU/Linux; on
> printing it produces the error message
>  "charset-dimension: Wrong type argument: charsetp, iso-latin-9" and
> doesn't send anything to the printer. describe-coding-system knows
> iso-latin-9.

I've just fixed that bug; i.e. the bug of signalling an error.

> Under MS Windows XP I get with emacs -Q always just a question mark,
> independent of file encoding. But with my startup files containing the
> above 'setq..' I am able to print the same file (and any other file,
> too)
> just fine, without getting any error message. (Here I use the binary
> ftp://ftp.gnu.org/gnu/emacs/windows/emacs-23.2-bin-i386.zip, downloaded
> on May,11th)

With that Emacs, please do:
  C-u M-x ps-print-buffer RET ~/temp2.ps RET
and send me ~/temp2.ps.

---
Kenichi Handa
handa <at> m17n.org




This bug report was last modified 12 years and 203 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.