[Pgp-tools-commit] r489 - in trunk: debian gpg-key2ps

Thijs Kinkhorst thijs at alioth.debian.org
Wed Nov 2 17:18:35 UTC 2011


Author: thijs
Date: 2011-11-02 17:18:35 +0000 (Wed, 02 Nov 2011)
New Revision: 489

Modified:
   trunk/debian/changelog
   trunk/gpg-key2ps/gpg-key2ps
Log:
Apply patch from Uwe Kleine-K?\195?\182nig to deal with latin1 characters
(partially addresses #596377).


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2011-11-01 19:37:54 UTC (rev 488)
+++ trunk/debian/changelog	2011-11-02 17:18:35 UTC (rev 489)
@@ -4,9 +4,11 @@
   * 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 @@
     + Create the mail files in ~/.caff/keys even if mail is not sent
       (closes: #590666).
 
- -- Thijs Kinkhorst <thijs at debian.org>  Tue, 01 Nov 2011 20:35:10 +0100
+ -- Thijs Kinkhorst <thijs at debian.org>  Wed, 02 Nov 2011 18:17:25 +0100
 
 signing-party (1.1.3-1) unstable; urgency=low
 

Modified: trunk/gpg-key2ps/gpg-key2ps
===================================================================
--- trunk/gpg-key2ps/gpg-key2ps	2011-11-01 19:37:54 UTC (rev 488)
+++ trunk/gpg-key2ps/gpg-key2ps	2011-11-02 17:18:35 UTC (rev 489)
@@ -121,8 +121,22 @@
 /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
 } def




More information about the Pgp-tools-commit mailing list