mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
50a4a0294c
commit
8f9a19aced
@ -23,7 +23,8 @@
|
|||||||
date: 2012-03-23
|
date: 2012-03-23
|
||||||
|
|
||||||
new features:
|
new features:
|
||||||
- title: "E-book viewer: A whole new full screen mode, with no toolbars to distract from the text and the ability to set the width of the column of text via Preferences in the ebook viewer."
|
- title: "E-book viewer: A whole new full screen mode."
|
||||||
|
description: "The new mode has no toolbars to distract from the text and the ability to set the width of the column of text via Preferences in the ebook viewer. Click the Fullscreen button on the toolbar in the viewer to enter fullscreen mode (or press the F11 or Ctrl+Shit+F keys)"
|
||||||
type: major
|
type: major
|
||||||
tickets: [959830]
|
tickets: [959830]
|
||||||
|
|
||||||
|
@ -328,7 +328,7 @@ class MOBIHeader(object): # {{{
|
|||||||
(self.sect_idx, self.skel_idx, self.datp_idx, self.oth_idx
|
(self.sect_idx, self.skel_idx, self.datp_idx, self.oth_idx
|
||||||
) = struct.unpack_from(b'>4L', self.raw, 248)
|
) = struct.unpack_from(b'>4L', self.raw, 248)
|
||||||
self.unknown9 = self.raw[264:self.length]
|
self.unknown9 = self.raw[264:self.length]
|
||||||
if self.meta_orth_indx != self.sect_idx:
|
if self.meta_orth_indx not in {NULL_INDEX, self.sect_idx}:
|
||||||
raise ValueError('KF8 header has different Meta orth and '
|
raise ValueError('KF8 header has different Meta orth and '
|
||||||
'section indices')
|
'section indices')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user