Balki
835b70a840
Reader: allow book urls to be relative ( #29 )
2024-07-26 14:00:54 +00:00
John Factotum
660f6bbf1e
KF8: fix contributor not exposed in metadata
2024-07-15 00:11:25 +08:00
John Factotum
5cda2125d8
MOBI6: empty string instead of undefined in TOC
...
Should fix https://github.com/johnfactotum/foliate/issues/1347
2024-07-15 00:08:50 +08:00
John Factotum
92964699af
Paginator: make grid columns follow text block
...
This is a purely internal change, but it might make things easier in the
future if one wants to place stuff on the margins (e.g. to fade the edge
of the iframe when animating, or place prev/next buttons on the sides)
2024-06-22 18:34:19 +08:00
John Factotum
51c02bf594
EPUB: support display-options.xml
2024-06-22 01:42:47 +08:00
John Factotum
37626ba44a
PDF: default to odd pages right
2024-06-22 01:40:58 +08:00
Pablo C. Vergara Castro and pvergara
239af2437a
Close the "not" function ( #25 )
...
Co-authored-by: pvergara <ecos.logic.org@gmail.com >
2024-06-03 05:54:44 +00:00
John Factotum
8c378d68fc
README: fix warning formatting
...
Also add link to https://github.com/johnfactotum/epub-test
2024-05-17 05:10:55 +00:00
John Factotum
7372c658cf
Fix package.json
2024-04-27 16:51:04 +08:00
John Factotum
b7ff640943
Paginator: prevent spread in portrait
...
Or, for vertical writing, in landscape
2024-04-27 16:14:36 +08:00
Vytor Rennan
28a757e5bb
Fix bad resolution for pdfs ( #23 )
2024-04-26 03:52:21 +00:00
John Factotum
5600b6c0dc
Migrate to ESLint 9 and fix linting issues
2024-04-23 12:59:31 +08:00
John Factotum
04b8789267
Footnotes: reject when failing to show footnote
...
Now `handle()` could return either undefined or a promise, which you can
catch to handle the case where footnote fails to show.
Also improve footnote extraction.
2024-03-26 16:41:30 +08:00
John Factotum
b45e08b10b
Paginator: fix unnecessary wrapping in tables
...
Fixes https://github.com/johnfactotum/foliate/issues/1278
2024-03-25 05:52:49 +08:00
John Factotum
b0d7ed481f
Paginator: destroy view before removing it
2024-03-23 12:12:39 +08:00
John Factotum
18159a4d07
Don't check document's existence when expanding
...
`expand()` is only called after `render()`, which assumes that it exists
2024-03-21 20:22:31 +08:00
John Factotum
b0a869b7ed
Fix page end cut off when starting with page break
...
Fixes https://github.com/johnfactotum/foliate/issues/1179
2024-03-20 08:44:47 +08:00
John Factotum
d9da576611
CBZ: add support for AVIF
...
Also throw when there are no images to show
2024-01-20 12:09:02 +08:00
John Factotum
35f749dd7c
CBZ: add JPEG XL support
2023-12-30 12:21:08 +08:00
John Factotum
1ff2d530c4
Add support for dictd and StarDict dictionaries
2023-12-16 15:04:43 +08:00
John Factotum
ad5ec4d0e9
Add OPDS
2023-12-16 14:45:05 +08:00
John Factotum
7d55731faf
Footnotes: include links with <length> or <percentage> vertical-align
2023-12-04 03:50:15 +08:00
John Factotum
449842fd0a
Fix argument
2023-12-04 03:48:41 +08:00
John Factotum
cbe9e0009c
Make animation setting an attribute instead of a property
2023-11-28 11:07:56 +08:00
John Factotum
2ea63929c7
Fix broken layout when book has !important styles
2023-11-15 04:33:02 +08:00
John Factotum
f75fbba096
Foonotes: get note type
...
Also rename footnote.js -> footnotes.js
2023-11-12 21:42:21 +08:00
John Factotum
9e80194ba3
Add footnote handler
2023-11-05 23:09:44 +08:00
John Factotum
2a6012d749
Move section marks calculation to view
...
Also try to fix section mark epsilon
2023-11-02 16:10:40 +08:00
John Factotum
7dcbc6921a
Update vendored libraries
2023-11-02 12:26:38 +08:00
John Factotum
4d7d010e29
MOBI6: build TOC from end-of-file TOC
...
Fixes #16
2023-10-29 19:04:52 +08:00
John Factotum
05329eba6e
Fix viewer background not updated when page background changes
...
Bit of a band-aid fix. Ideally it should have some sort of
"ComputedStyleObserver" but this should fix the most common problem
for now.
2023-10-27 15:13:54 +08:00
John Factotum
0d09ca12a2
EPUB: fix subjects
...
Also update README
2023-10-24 17:25:46 +08:00
John Factotum
7c3b7447f6
EPUB: add narrator
2023-10-24 16:38:31 +08:00
John Factotum
e91ff78534
Fix quotes
2023-10-24 13:38:15 +08:00
John Factotum
6d55d3e6b1
Convert break-*: page to break-*: column
...
`break-*` is the newer standard that replaced the legacy `page-break-*`
properties.
Note that setting it to `always` or `all` does not work. There seems to
be no way of telling browsers to break in both paged media and multicol.
2023-10-24 13:29:36 +08:00
John Factotum
969f4c1850
EPUB: improve metadata
2023-10-24 13:14:40 +08:00
John Factotum
28873972ef
Make highlight opacity and blend mode configurable
2023-10-13 17:42:04 +08:00
John Factotum
d44e8d6d64
EPUB: ignore query strings when resolving URLs
2023-10-11 01:49:20 +08:00
John Factotum
96d51e654a
Fix page list progress
2023-10-10 22:54:27 +08:00
John Factotum
4f321563c7
PDF: add annotation layer and handle links
2023-10-09 01:56:13 +08:00
John Factotum
c401fa7ab4
CFI: wrap fake CFI
2023-10-08 23:22:33 +08:00
John Factotum
a63a68eda0
Add PDF support
2023-10-08 21:27:06 +08:00
John Factotum
bcfb942935
Fix module path
2023-10-08 20:44:32 +08:00
John Factotum
27a290ff59
Allow processing hrefs in TOC asynchronously
2023-10-08 20:42:47 +08:00
John Factotum
819106c71f
FXL: fix getting viewport from SVGs
2023-10-08 20:40:16 +08:00
John Factotum
7a31359cd4
Media Overlay: add volume setting
2023-10-08 10:16:33 +08:00
John Factotum
f0aa16113f
EPUB: fix media: properties
2023-10-08 05:33:56 +08:00
John Factotum
08c2ba0b24
EPUB: add prev/next for media overlay playback
2023-10-07 01:37:30 +08:00
John Factotum
1ff15bdc26
EPUB: add support for media overlay playback
2023-10-06 01:23:44 +08:00
John Factotum
83cce01797
Make text walker a separate module
2023-10-01 18:19:13 +08:00