This commit is contained in:
Kovid Goyal 2012-12-28 00:29:55 +05:30
parent 8cfd79023e
commit 3b8cd95d07

View File

@ -18,8 +18,8 @@ from calibre.ptempfile import TemporaryDirectory
UNITS = ['millimeter', 'centimeter', 'point', 'inch' , 'pica' , 'didot', UNITS = ['millimeter', 'centimeter', 'point', 'inch' , 'pica' , 'didot',
'cicero', 'devicepixel'] 'cicero', 'devicepixel']
PAPER_SIZES = ['b2', 'b4', 'b5', 'b6', 'b0', 'b1', 'letter', 'b3', 'a3', 'a1', PAPER_SIZES = [u'a0', u'a1', u'a2', u'a3', u'a4', u'a5', u'a6', u'b0', u'b1',
'a0', 'legal', 'a6', 'a2', 'a5', 'a4'] u'b2', u'b3', u'b4', u'b5', u'b6', u'legal', u'letter']
class PDFMetadata(object): # {{{ class PDFMetadata(object): # {{{
def __init__(self, oeb_metadata=None): def __init__(self, oeb_metadata=None):