~ubuntu-branches/debian/wheezy/calibre/wheezy

« back to all changes in this revision

Viewing changes to src/calibre/customize/profiles.py

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2010-08-11 11:30:57 UTC
  • mfrom: (1.3.14 upstream)
  • mto: (29.3.2 oneiric)
  • mto: This revision was merged to the branch mainline in revision 31.
  • Revision ID: james.westby@ubuntu.com-20100811113057-2jhbcbavxw7wlt0c
Tags: 0.7.13+dfsg-1
* New upstream version.
* debian/control: Add python-routes recommends. (Closes: #590561)
* Convert to 3.0 (quilt) source format.
* Bump debhelper compat level to 7, and drop now obsolete
  DEB_DH_INSTALL_SOURCEDIR in debian/rules.
* debian/control: Add missing ${misc:Depends}.
* debian/control: Bump Standards-Version to 3.9.1.
* debian/copyright: Replace obsolete reference to
  /usr/share/common-licenses/BSD with their verbatim text from the original
  source.
* debian/rules: Remove invalid hashbang lines from *.recipe, these have no
  __main__.

Show diffs side-by-side

added added

removed removed

Lines of Context:
233
233
                    'if you want to produce a document intended to be read at a '
234
234
                    'computer or on a range of devices.')
235
235
 
236
 
    # The image size for comics
 
236
    #: The image size for comics
237
237
    comic_screen_size = (584, 754)
238
238
 
239
 
    # If True the MOBI renderer on the device supports MOBI indexing
 
239
    #: If True the MOBI renderer on the device supports MOBI indexing
240
240
    supports_mobi_indexing = False
241
241
 
242
 
    # If True output should be optimized for a touchscreen interface
 
242
    #: If True output should be optimized for a touchscreen interface
243
243
    touchscreen = False
244
244
    touchscreen_news_css = ''
245
 
    # A list of extra (beyond CSS 2.1) modules supported by the device
246
 
    # Format is a cssutils profile dictionary (see iPad for example)
 
245
    #: A list of extra (beyond CSS 2.1) modules supported by the device
 
246
    #: Format is a cssutils profile dictionary (see iPad for example)
247
247
    extra_css_modules = []
 
248
    #: If True, the date is appended to the title of downloaded news
 
249
    periodical_date_in_title = True
248
250
 
249
251
    @classmethod
250
252
    def tags_to_string(cls, tags):
550
552
    fbase                     = 16
551
553
    fsizes                    = [12, 12, 14, 16, 18, 20, 22, 24]
552
554
    supports_mobi_indexing = True
 
555
    periodical_date_in_title = False
553
556
 
554
557
    @classmethod
555
558
    def tags_to_string(cls, tags):
567
570
    dpi                       = 150.0
568
571
    comic_screen_size         = (741, 1022)
569
572
    supports_mobi_indexing = True
 
573
    periodical_date_in_title = False
570
574
 
571
575
    @classmethod
572
576
    def tags_to_string(cls, tags):