Kovid Goyal
81c9c9c112
Font subsetting: Add support for WOFF format fonts and CID keyed fonts. Also further reduce font file sizes when subsetting.
...
Courtesy of switching to fonttools as the subsetting engine. They now
support adding glyphs from GSUB/GPOS tables so should be much more
robust than the last time I looked into fonttools and decided to write
my own subsetting code instead.
2023-04-23 20:39:44 +05:30
Kovid Goyal
ee553442b7
Return log messages when running subsetting via fonttools
2023-04-23 20:34:23 +05:30
Kovid Goyal
525851464a
Wrapper code to use fonttools for subsetting
2023-04-23 20:03:52 +05:30
Kovid Goyal
25b642acba
Include fonttools will eventually be used for subsetting or conversion to/from WOFF
2023-04-23 19:54:21 +05:30
Kovid Goyal
edbf95a902
Fix data files not being merged when merging books
...
Fixes #2017373 [Possible bug? Extra data files disappear upon merging](https://bugs.launchpad.net/calibre/+bug/2017373 )
2023-04-23 13:04:04 +05:30
Kovid Goyal
feac41c8f7
DRYer
2023-04-23 12:46:36 +05:30
Kovid Goyal
b81d8f46bc
Nicer presentation of folder links in book details
2023-04-23 12:44:52 +05:30
Kovid Goyal
fd8717ae41
...
2023-04-23 09:39:28 +05:30
Kovid Goyal
22fc372bbe
...
2023-04-23 09:09:02 +05:30
Kovid Goyal
c352e3e9ed
...
2023-04-23 09:05:58 +05:30
Kovid Goyal
29c9f22fee
Fix #2017375 [Data files context menu glitch]( https://bugs.launchpad.net/calibre/+bug/2017375 )
2023-04-23 09:05:16 +05:30
Kovid Goyal
059d3c9feb
Merge branch 'master' of https://github.com/cbhaley/calibre
2023-04-22 19:48:42 +05:30
Charles Haley
82ecffb07b
Enhancement #2017318 : Open book details window from Quickview.
...
Opens a locked window.
2023-04-22 15:12:51 +01:00
Kovid Goyal
f48c2ca8f2
...
2023-04-22 18:35:17 +05:30
Kovid Goyal
124854254e
...
2023-04-22 18:13:14 +05:30
Kovid Goyal
3cb7996e89
Merge branch 'master' of https://github.com/cbhaley/calibre
2023-04-22 18:13:04 +05:30
Charles Haley
58f67dd781
Bug #2017316 : Error when renaming tag in Tags Manager.
...
Note: I rolled back commits d5dbb3c63a1fe05f85a31cf1e4cd021ec76e750a and 89391da7b7074b42aad7c440e97ac76cfd18175a.
2023-04-22 13:23:56 +01:00
Charles Haley
914ea7d54c
Revert "Fix #2017316 [Error when renaming tag in Tags Manager]( https://bugs.launchpad.net/calibre/+bug/2017316 )"
...
This reverts commit d5dbb3c63a1fe05f85a31cf1e4cd021ec76e750a.
2023-04-22 13:22:20 +01:00
Charles Haley
2aef0e6232
Revert "Fix another error in the manage category editor when setting was"
...
This reverts commit 89391da7b7074b42aad7c440e97ac76cfd18175a.
2023-04-22 13:22:20 +01:00
Kovid Goyal
cf520a0884
Dont use email to close launchpad bugs
...
Their email service appears to be broken. So use the fast responder
script instead.
2023-04-22 14:33:20 +05:30
Kovid Goyal
d3dda1af39
Edit book: Compress images: Support compression of images in the WEBP format as well. Fixes #2017195 [[feature] support webp in epub]( https://bugs.launchpad.net/calibre/+bug/2017195 )
2023-04-22 14:09:19 +05:30
Kovid Goyal
c6c8fbeb64
webp default for lossy encoding is q=75
2023-04-22 13:32:19 +05:30
Kovid Goyal
36203a7497
Functions to optimize and encode webp images
2023-04-22 13:22:48 +05:30
Kovid Goyal
89391da7b7
Fix another error in the manage category editor when setting was
2023-04-22 11:20:05 +05:30
Kovid Goyal
a91889f390
Move constants used by db backend into a separate module so we dont need to import the full backend everywhere else
2023-04-22 11:07:52 +05:30
Kovid Goyal
dba94e1b5b
DRYer
2023-04-22 11:01:56 +05:30
Kovid Goyal
679877607d
Comments editor: Add buttons to create links to data files and also to folders
2023-04-22 10:56:12 +05:30
Kovid Goyal
cb97b2b1fa
Allow not saving initial dir in choose_files as well
2023-04-22 10:14:26 +05:30
Kovid Goyal
d5dbb3c63a
Fix #2017316 [Error when renaming tag in Tags Manager]( https://bugs.launchpad.net/calibre/+bug/2017316 )
2023-04-22 07:29:21 +05:30
Kovid Goyal
4deb2384c2
Bump supported dbversion in kobo driver
...
At least one user reports that the driver seems to work OK with the
latest dbversion.
https://www.mobileread.com/forums/showthread.php?t=353443
2023-04-22 07:18:55 +05:30
Kovid Goyal
f9bc895f0a
Fix exception when opening book info popup window with no cover and fit cover checkbox checked
2023-04-22 07:17:48 +05:30
Kovid Goyal
3ac4dc6e43
Avoid div-by-zero in fit_image
2023-04-22 07:16:51 +05:30
Kovid Goyal
8ed76a284a
Merge branch 'master' of https://github.com/cbhaley/calibre
2023-04-21 21:09:34 +05:30
Charles Haley
9ccabd206f
Improvement in custom comments header position documentation
2023-04-21 16:31:23 +01:00
Kovid Goyal
464030a796
Fix copy to library not copying extra files
...
There was a bug in the test as well that allowed this bug through.
2023-04-21 20:09:18 +05:30
Kovid Goyal
0805fa23f2
Merge branch 'Python_3.9_syntax' of https://github.com/madpilot78/calibre
2023-04-21 20:00:12 +05:30
Kovid Goyal
c021519f95
Merge branch 'master' of https://github.com/cbhaley/calibre
2023-04-21 19:58:59 +05:30
Guido Falsi
e227e0f123
Adapt union syntax to work on python 3.9
2023-04-21 15:44:22 +02:00
Charles Haley
1a5bf9ffa8
Refresh book details after adding extra files in case the link isn't alreadyy showing.
2023-04-21 14:34:14 +01:00
Kovid Goyal
ef05b19024
Merge branch 'master' of https://github.com/cbhaley/calibre
2023-04-21 18:07:20 +05:30
Charles Haley
a17b860df5
Add a menu action in book details to copy the link to a book's data folder if one exists.
2023-04-21 13:06:32 +01:00
Kovid Goyal
a8229ffc9d
Trash bin: Add a button to clear the bin. Fixes #2017232 [Enhancement Request: One-click 'empty recycle bin']( https://bugs.launchpad.net/calibre/+bug/2017232 )
2023-04-21 17:28:41 +05:30
Kovid Goyal
f7fb20e431
Ensure metadata.opf is always written when deleting book even if it is not sequenced for backup. Fixes #2017217 [Trash Bin not working]( https://bugs.launchpad.net/calibre/+bug/2017217 )
2023-04-21 17:13:38 +05:30
Charles Haley
125c7bbf26
Use tabs instead of spaces in the template tester's sample python text. This makes indenting and outdenting in the tester consistent.
2023-04-21 11:55:59 +01:00
Kovid Goyal
46406ca9a7
Also ignore unparseable metadata.json
2023-04-21 14:47:40 +05:30
Kovid Goyal
67ad60d536
When listing the trash dir ignore entries without a useable metadata.opf
2023-04-21 14:44:31 +05:30
Kovid Goyal
d7632c256c
Book details: Show a clickable link to open the data files folder when extra data files are present for the book
2023-04-21 14:35:51 +05:30
Kovid Goyal
73d1406e29
Missed a few places to make long paths useable in copy_tree
2023-04-21 14:14:42 +05:30
Kovid Goyal
7e014c6851
...
2023-04-21 13:43:05 +05:30
Kovid Goyal
e4eae39a5f
Add tests for various external DLL based modules in pillow
2023-04-21 13:41:40 +05:30