Fred Chasen
0e4d194039
Merge pull request #1064 from futurepress/vertical_fixes
...
Fixes for vertical text flow
2020-05-22 18:36:06 -07:00
Fred Chasen
7001f86eda
Remove rtl progression dir for vertical, fix textHeight offset and set column-axis for vertical
2020-05-22 18:26:46 -07:00
Christiaan Baartse
d690dd9d68
Change Book.coverUrl to return null when there is no cover
...
CoverUrl now returns an undefined when there is no cover. However not
having a cover is expected behavior for an epub without a cover.
2020-05-22 11:34:03 +02:00
Christiaan Baartse
0b0f2e1b2d
Bugfix calling coverUrl throws error on book without cover
...
When calling coverUrl on a book that has no cover a error is thrown
> TypeError: Cannot read property 'substr' of undefined
This is because Archive.getBlob is called with this.cover which is
undefined.
2020-05-22 11:17:07 +02:00
Simon Miner
38ef2aeeff
Account for special characters in ePub content file URL substitutions
2020-05-21 14:59:28 -04:00
Christiaan Baartse
2732e172cd
Fix opening an ArrayBuffer without options
...
Opening an archived Epub in an ArrayBuffer without passing in options will
never resolve its `book.opened` Promise.
2020-05-21 06:25:30 +02:00
Christiaan Baartse
2f63b16276
Fix broken coverUrl for archived Epubs
...
When calling coverUrl for an archived epub the resolved promise contains
undefined and not a string.
Also the documentation everywhere is lying about coverUrl() returning a
string whereas it actually returns a Promise that resolves to a string.
2020-05-19 06:48:19 +02:00
Ali Dubaisi
290ffc8eef
Fix left offset calculation of RTL prev navigation
2020-05-18 21:25:53 +03:00
Fred Chasen
e539c38f7d
Fix typos, remove console.log
2020-05-15 11:02:58 -07:00
Fred Chasen
da430d6cb1
Add scrollType detection util, remove lang rtl guess
2020-05-15 10:55:29 -07:00
Fred Chasen
5081589d25
Merge pull request #961 from alidbc/master
...
Major RTL fixes
2020-05-15 09:09:57 -07:00
Fred Chasen
a0cd9d422a
Remove specific xhtml path in display
2020-05-15 08:57:38 -07:00
Fred Chasen
7b8480fde0
Merge pull request #927 from mikkelvp/dev
...
Respect pre-paginated page spreads
2020-05-14 23:01:21 -07:00
Fred Chasen
915ab2e107
Always run check again after display of new views
2020-05-14 22:09:08 -07:00
Fred Chasen
20f5ea5372
Merge pull request #1031 from frasermince/master
...
Map over display function instead of displayed value.
2020-05-14 22:07:28 -07:00
Fred Chasen
992a3f7461
Add offset to start calculation
2020-05-14 19:40:27 -07:00
Fred Chasen
5c04784ab8
Merge pull request #844 from lvscar/master
...
Adding a search method to section for find out result spanning multiple nodes.
2020-05-13 21:46:05 -07:00
Fred Chasen
9bd844036d
Merge pull request #889 from yellowtree/css_serialized
...
Implement serialized themes CSS
2020-05-13 21:44:41 -07:00
Fred Chasen
7f8dfa1575
Merge pull request #1017 from bibliolabs/ignore_search_string_input_type
...
Ignore url search string when determining INPUT_TYPE
2020-05-13 21:32:41 -07:00
Fraser Mince
0127e9e83f
Map over display function instead of displayed value.
...
Previously we were mapping over the displayed status boolean and
treating it like a promise when it wasn't one. I assume we meant to
instead call the display function.
2020-02-11 15:34:31 -06:00
Evan Muller
de843ff51b
Ignore url search string when determining INPUT_TYPE
2019-12-20 15:09:52 -05:00
Evan Muller
90b247c20f
Send requestHeaders on Book open request
2019-12-20 15:08:44 -05:00
m8524769
920846bda2
Fix wrong TOC item retruns by Navigation.get() ( #831 )
2019-12-16 18:56:05 +08:00
Fred Chasen
a6bbf71363
Merge pull request #971 from strattonpress/master
...
Added removeOverride() in rendition.themes to remove a css property in rendition.themes._overrides
2019-11-07 09:44:04 -08:00
Fred Chasen
91f1e45d36
Merge pull request #985 from daniel-j/fix-glyph-clipping
...
Fix glyph clipping in WebKit. Fixes #983
2019-11-07 09:42:57 -08:00
Fred Chasen
f1386c504f
Merge pull request #992 from wnabil/master
...
Bypass iframe dynamic html security for Cordova windows platform, Fix for #991
2019-11-07 09:39:34 -08:00
Fraser Mince
589f5ce9e5
Chrome tab background performance fixes ( #977 )
...
* Add listener to detect when in background and disable polling.
* Remove polling.
2019-11-07 09:37:43 -08:00
Mikkel Vester Petersen
8f83c91aaa
Fix typo
2019-10-24 15:12:09 +02:00
Mikkel Vester Petersen
f5d55e039d
Generate word locations without start cfi
2019-10-22 14:48:17 +02:00
Mikkel Vester Petersen
cc77d079fc
Generate locations with word count
2019-10-22 14:00:49 +02:00
Wassem Keddah
24141db3d9
Bypass iframe dynamic html security for Cordova windows platform
2019-10-17 15:11:03 +02:00
daniel-j
5edf4c3bf6
Fix glyph clipping in WebKit. Fixes #983
2019-09-28 22:32:58 +02:00
Mikkel Vester Petersen
3f76bb822f
Get spread from metadata
2019-09-12 12:22:23 +02:00
Nicolas Segarra
0acc4234aa
Added removeOverride() in rendition.themes to remove a css property in rendition.themes._overrides
2019-08-17 00:29:34 +08:00
Mikkel Vester Petersen
dfce8e58b7
Add margin to align pre-paginated pages
2019-08-13 14:00:50 +02:00
Mikkel Vester Petersen
bf4a68a9a2
Fix for incomplete xhtml hrefs
2019-08-13 13:59:21 +02:00
Mikkel Vester Petersen
5f7faf1450
Respect pre-paginated page spreads
2019-08-12 11:10:44 +02:00
Fred Chasen
94edd48092
Merge pull request #959 from sengemann/master
...
Adding epubcif as an optional paramater to the Rendition.resize() method
2019-08-07 21:29:43 -07:00
Fred Chasen
1b47e695a6
Merge pull request #968 from tarungupta-in/#967_Unique_Identifier
...
#967 Some books doesn't open in epubjs reader because of unique identifier
2019-08-07 21:27:43 -07:00
Tarun Gupta
f03b9f5542
#967 Some books doesn't open in epubjs reader because of unique identifier
2019-08-07 14:40:39 +05:30
Bono Lv
f5022af53e
Added a search method to Section object for find out result spanning multiple document nodes.
2019-07-19 18:57:53 +08:00
Ali Dubaisi
e2c77d6f3a
Major RTL fixes
2019-07-13 02:58:54 +03:00
Scott Engemann
ba64140b85
Adding epubcif as an optional paramater to the Rendition.resize() method
2019-07-10 23:04:15 -04:00
Fred Chasen
be24ab8b39
Merge pull request #945 from sengemann/master
...
Conditionally including search params if present in the URL
2019-06-05 15:36:33 -07:00
Fred Chasen
98f9ad7a0d
Merge pull request #914 from tushar9989/master
...
Potential fix for wrong page being displayed sometimes.
2019-06-05 15:35:55 -07:00
Tarun Gupta
ce81e9fcd0
#942 Parsed the padding before adding as I found some books where these values are coming in as strings appended with px like "38px"
2019-06-05 19:58:22 +05:30
Tarun Gupta
87f5964e09
#942 Renamed verticalPadding to horizontalPadding
2019-05-29 14:27:35 +05:30
Scott
effcc5937e
Conditionally including search params if present in the URL
2019-05-13 14:37:27 -04:00
Tarun Gupta
54e7d6b85f
#942 Image and svg's max-width doesn't get set because of verticalPadding
2019-04-29 17:57:17 +05:30
Fred Chasen
90604b6bee
Fix #902 mixed lenght compares
2019-03-29 16:55:22 -07:00