Fix #1096170 (Binary install 0.9.13 broken for py2.6)

This commit is contained in:
Kovid Goyal 2013-01-05 00:49:48 +05:30
parent 233b8b0e7f
commit 17ee1b109f

View File

@ -10,8 +10,6 @@ Convert OEB ebook format to PDF.
import glob, os import glob, os
from PyQt4.Qt import QRawFont, QFont
from calibre.constants import iswindows from calibre.constants import iswindows
from calibre.customize.conversion import (OutputFormatPlugin, from calibre.customize.conversion import (OutputFormatPlugin,
OptionRecommendation) OptionRecommendation)
@ -139,7 +137,7 @@ class PDFOutput(OutputFormatPlugin):
from calibre.ebooks.oeb.base import urlnormalize from calibre.ebooks.oeb.base import urlnormalize
from calibre.gui2 import must_use_qt from calibre.gui2 import must_use_qt
from calibre.utils.fonts.utils import remove_embed_restriction from calibre.utils.fonts.utils import remove_embed_restriction
from PyQt4.Qt import QFontDatabase, QByteArray from PyQt4.Qt import QFontDatabase, QByteArray, QRawFont, QFont
# First find all @font-face rules and remove them, adding the embedded # First find all @font-face rules and remove them, adding the embedded
# fonts to Qt # fonts to Qt