Apply patch from Uwe Kleine-König to deal with latin1 characters
authorthijs <thijs@b513b33f-fedd-0310-b452-c3deb5f4c849>
Wed, 2 Nov 2011 17:18:35 +0000 (17:18 +0000)
committerthijs <thijs@b513b33f-fedd-0310-b452-c3deb5f4c849>
Wed, 2 Nov 2011 17:18:35 +0000 (17:18 +0000)
(partially addresses #596377).

git-svn-id: svn://svn.debian.org/pgp-tools/trunk@489 b513b33f-fedd-0310-b452-c3deb5f4c849

debian/changelog
gpg-key2ps/gpg-key2ps

index fff1d4d357ae1ee55399b4c8439522689b378f4f..fb0a33e46f7ab642b2ed24d95cc2395c3ea2b70f 100644 (file)
@@ -4,9 +4,11 @@ signing-party (1.1.4-1) UNRELEASED; urgency=low
   * caff:
     + Correct path of ~/.caffrc in informational messages (Closes: #582603).
     + Be more verbose on unexpected key ID (Closes: #645792).
+  * gpg-key2ps:
+    + Apply patch from Uwe Kleine-König to deal with latin1 characters
+      (partially addresses #596377).
   * Debian package:
     + Import dpkg build flags, plus small cleanups.
-  
 
   [ Franck Joncourt ]
   * Debian package:
@@ -45,7 +47,7 @@ signing-party (1.1.4-1) UNRELEASED; urgency=low
     + Create the mail files in ~/.caff/keys even if mail is not sent
       (closes: #590666).
 
- -- Thijs Kinkhorst <thijs@debian.org>  Tue, 01 Nov 2011 20:35:10 +0100
+ -- Thijs Kinkhorst <thijs@debian.org>  Wed, 02 Nov 2011 18:17:25 +0100
 
 signing-party (1.1.3-1) unstable; urgency=low
 
index 9351707776d6546ecf2c96e48e5e4aa2abaf30b8..4fbafad840c365c569c31e4dd542b2090acfb959 100755 (executable)
@@ -121,7 +121,21 @@ print <<EOF;
 /w $w def
 /h $h def
 
-/Times-Roman findfont 9 scalefont setfont 
+/reencode {
+       exch findfont
+       dup length dict
+       begin {
+               1 index /FID eq
+               { pop pop }
+               { def } ifelse
+       } forall
+       /Encoding ISOLatin1Encoding def
+       currentdict
+       end
+       definefont
+} bind def
+
+/Times-Roman /trlatin1 reencode 9 scalefont setfont
 
 /newline {
        /y y 10 sub def