----- Forwarded message from Alvaro Herrera <[email protected]> -----

Date: Sat, 29 Oct 2011 16:55:42 -0300
From: Alvaro Herrera <[email protected]>
To: Christoph Berg <[email protected]>
Cc: Thijs Kinkhorst <[email protected]>
Subject: gpg-key2ps failure with latin1 chars


Hi Christoph, Thijs,

Thanks for maintaining gpg-key2ps.

I'm using it now to generate paper strips for myself.  Since my first
name includes a Latin1 character, Á, the output is a bit funny --
instead of the Á I see a single ` instead.

I see that there is a conversion from utf8 to latin1 using iconv in the
Perl code, but it seems that Postscript isn't completely happy about
this.  I found this simple recipe that lets Postscript understand Latin1
chars:
http://blackshell.usebox.net/archive/codificar-iso-latin1-en-postscript.html

(The text is in spanish, but you should be able to read the Postscript
code).

Just by adding that function to the generated PS output and changing the
font name (from Times-Roman to _Times-Roman) I was able to get a file
that looks correct on screen.

I didn't find a more appropriate place to report this.  Hope it serves
to improve future versions of this program.

-- 
Álvaro Herrera <[email protected]>



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to