From cfccee29908e69c56877a8ab8ed63a9d071259e5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Wobst?= Date: Sun, 19 Feb 2012 08:05:11 +0000 Subject: [PATCH] do not remove the cleartomark git-svn-id: http://svn.code.sf.net/p/pyx/code/trunk/pyx/pyx@3244 a4f5e268-e194-4f32-bce1-d30804cbbcc5 --- font/t1file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/font/t1file.py b/font/t1file.py index a2ce86c9..682aa128 100644 --- a/font/t1file.py +++ b/font/t1file.py @@ -1075,7 +1075,7 @@ class T1file: /UniqueID\s+get\s+\d+\s+eq\s+exch\s*/FontType\s+get\s+1\s+eq\s+and\s*}\s*{\s*pop\s+false\s*}\s*ifelse\s* {save\s+true\s*}\s*{\s*false\s*}\s*ifelse\s*}\s*{\s*false\s*}\s*ifelse""" % {"name": self.name}, data1, re.VERBOSE) - m3 = re.search("cleartomark\s*{restore}\s*if", data3) + m3 = re.search("\s*{restore}\s*if", data3) if m1 and m3: data1 = data1[:m1.start()] + data1[m1.end():] data3 = data3[:m3.start()] + data3[m3.end():] -- 2.11.4.GIT