From af48c67fc7b09060fcfe7c7b67dd1dabd326d337 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 28 May 2010 13:36:54 -0600 Subject: [PATCH] ... --- src/calibre/ebooks/oeb/iterator.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/calibre/ebooks/oeb/iterator.py b/src/calibre/ebooks/oeb/iterator.py index 020cf8d202..7912d26e83 100644 --- a/src/calibre/ebooks/oeb/iterator.py +++ b/src/calibre/ebooks/oeb/iterator.py @@ -21,7 +21,9 @@ from calibre.utils.logging import Log from calibre import guess_type, prints from calibre.ebooks.oeb.transforms.cover import CoverManager -TITLEPAGE = CoverManager.SVG_TEMPLATE.decode('utf-8').replace('__ar__', 'none') +TITLEPAGE = CoverManager.SVG_TEMPLATE.decode('utf-8').replace(\ + '__ar__', 'none').replace('__viewbox__', '0 0 600 800' + ).replace('__width__', '600').replace('__height__', '800') def character_count(html): '''