My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 82 attachment: 0002-Add-modulus-that-was-probably-lost-when-wrapping-lon.patch (907 bytes)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 5c4f5a31bda4af32e66f19e39ba2d2a23b02e97b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rog=C3=A9rio=20Brito?= <rbrito@ime.usp.br>
Date: Thu, 28 Feb 2013 00:04:05 -0300
Subject: [PATCH 2/2] Add 'modulus' that was probably lost when wrapping long
lines.

---
trunk/pdfsizeopt.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/trunk/pdfsizeopt.py b/trunk/pdfsizeopt.py
index 44617f8..f56960e 100755
--- a/trunk/pdfsizeopt.py
+++ b/trunk/pdfsizeopt.py
@@ -5279,7 +5279,7 @@ cvx bind /LoadCff exch def
output.append('(Type1CParser: all OK\\n) print flush\n%%EOF\n')
output_str = ''.join(output)
print >>sys.stderr, (
- 'info: writing Type1CParser (%s font bytes) to: %s'
+ 'info: writing Type1CParser (%s font bytes) to: %s' % \
(len(output_str) - output_prefix_len, ps_tmp_file_name))
f = open(ps_tmp_file_name, 'wb')
try:
--
1.7.10.4

Powered by Google Project Hosting