Kovid Goyal
0e444b577a
Merge branch 'outline-colors' of https://github.com/un-pogaz/calibre
2026-01-21 14:55:38 +05:30
Kovid Goyal
0ac1b15b56
Cleanup previous PR
...
min_line_height should have 2 * outline_width. Dont know why it was 3.
Default outline width should be halved if we are doubling the meaning of
outline_width.
2026-01-21 14:49:11 +05:30
Kovid Goyal
4c5cd1db33
Merge branch 'fix-improve-outline' of https://github.com/un-pogaz/calibre
2026-01-21 14:48:49 +05:30
Kovid Goyal
24fbbd0290
Get the new icon engine working
...
Fixes #2134373 [Plugins' icons from icon themes - display issue](https://bugs.launchpad.net/calibre/+bug/2134373 )
2026-01-21 14:41:33 +05:30
Kovid Goyal
202ea38790
...
2026-01-21 13:30:39 +05:30
Kovid Goyal
16c67f15e1
Avoid querying resource system for user theme icons when we know the user theme is not present
2026-01-21 13:29:05 +05:30
un-pogaz
219c880cde
Bookshelf: make outline colors customisable
2026-01-21 08:48:28 +01:00
Kovid Goyal
f33e05b4ba
Start work on my own icon engine
...
Qt's builtin icon engines are not flexible enough for calibre's needs.
2026-01-21 13:01:16 +05:30
un-pogaz
f31501df96
reduce occurence of down resizing text
2026-01-21 08:30:11 +01:00
Kovid Goyal
0da6219b4c
Allow plugins to specify a folder in the zip file to load icons from
...
kiwidude's plugins use some crazy inefficient code that tries to load an
icon in multiple ways. With this change he can simply do:
get_icons(zfp, name, plugin_name, folder_in_zip_file='images')
This will load the icon efficiently from the user overrides/icon theme,
falling back to the icon from the zip file as a last resort.
Also, change get_icons() to always read the icon data from the zip file.
This is to support upcoming code to change icon themeing to support the
case of switching from one them to another during and when the first
theme has the icon and the second theme doesnt, loading the
fallback/default icon.
2026-01-21 10:36:32 +05:30
Kovid Goyal
6c63a1fa3e
Only show the Sort button on the search bar if the Sort By action has not been added to the search bar by the user. Fixes #2138770 [[Enhancement] Sort By - List view]( https://bugs.launchpad.net/calibre/+bug/2138770 )
2026-01-21 09:36:04 +05:30
un-pogaz
1b2e9d6f3f
draw the outine in addition around the text
...
more intuitive result for the setting
2026-01-20 19:50:56 +01:00
un-pogaz
1e87c13d89
Bookshelf: fix empty intersection on text
2026-01-20 19:50:56 +01:00
Kovid Goyal
3e69c33552
Fix #2995 (KEPUB Output: Transfer the OMF cover image)
2026-01-20 22:54:44 +05:30
Kovid Goyal
bce7f1d785
Extra line height due to outline was doubled
...
Fix that. Calculate outline_width once only. And Use ceil() on height +
extra_height, since height() is also a float.
2026-01-20 22:48:16 +05:30
Kovid Goyal
7c4ae4d671
...
2026-01-20 22:15:26 +05:30
Kovid Goyal
50de399558
...
2026-01-20 20:42:33 +05:30
Kovid Goyal
e75f76f107
Bookshelf: add a user configurable outline around spine text
2026-01-20 20:33:27 +05:30
Kovid Goyal
e0eddd5452
Fix group by menu not being sorted due to a typo
2026-01-20 18:51:09 +05:30
Kovid Goyal
9ced42d5dd
string changes
2026-01-20 17:19:29 +05:30
Kovid Goyal
573c2c8e15
TXT Output: Add an option to replace images by their alt attribute text. Fixes #2137504 [Support alt text for text conversion]( https://bugs.launchpad.net/calibre/+bug/2137504 )
2026-01-20 14:17:52 +05:30
Kovid Goyal
b5b3f17b95
Bump beta version
2026-01-20 12:02:36 +05:30
Kovid Goyal
3e93791813
Avoid paying translation cost on import
2026-01-20 11:12:35 +05:30
Kovid Goyal
9a97c837f3
Cleanup previous PR
2026-01-20 11:09:27 +05:30
Kovid Goyal
59670f117d
Merge branch 'custom-colors' of https://github.com/un-pogaz/calibre
2026-01-20 10:51:56 +05:30
Kovid Goyal
73838c119b
When restoring book state ensure there is a current row
2026-01-20 10:45:11 +05:30
Kovid Goyal
6cbaba36cd
Ensure shelf_added is called even when no books are present
2026-01-20 10:43:02 +05:30
Kovid Goyal
abdfa7e364
DRYer
2026-01-20 10:26:38 +05:30
Kovid Goyal
405a636f11
Bookshelf: Fix restore_state not working
...
This fixes issues such as view not scrolling to current book on a
search.
2026-01-20 10:23:12 +05:30
Kovid Goyal
13114d40b2
Bookshelf: Automatically scroll to current book when current changes
...
This mimics the behavior of QAbstractItemView and fixes, for instance,
calibre://show-book URLs not scrolling to the current book.
2026-01-20 09:49:54 +05:30
Kovid Goyal
4b91ee982e
Fix changing libraries/updating search restriction not focusing the correct alternate view
2026-01-20 09:11:51 +05:30
un-pogaz
efe007fb8d
Bookshelf: allow custom colors
2026-01-20 01:00:48 +01:00
un-pogaz
a63fc9786d
...
2026-01-19 21:55:02 +01:00
Kovid Goyal
42a6fe793a
Add an option to use bold fonts on the spine
...
Specially for JSWolf
2026-01-19 22:11:51 +05:30
Kovid Goyal
6e06d92ab1
Only wrap t two lines if the two line font size is larger than the single line font size would be
2026-01-19 22:06:15 +05:30
Kovid Goyal
0b28ae5ee8
...
2026-01-19 21:32:32 +05:30
Kovid Goyal
49a51e1af4
Handle the fact that QStringuses UTF-16 and python uses unicode codepoints when slicing strings based on QTextLayout
2026-01-19 21:29:05 +05:30
Kovid Goyal
d15c3dc783
Bookshelf: When using a single line and the line is too long to fit rather than reducing font size wrap the line onto a second line, when there is available space for a second line
2026-01-19 21:15:06 +05:30
Kovid Goyal
dad0e4c6d0
Bookshelf: Make min and max spine text size configurable
...
Fixes #2992 (Bookshelf: add a tweak to control the min/max font size of the texts)
2026-01-19 20:28:45 +05:30
Kovid Goyal
9e19951df0
EPUB3 metadata: Handle identifiers that use HTTP URLs without the url: prefix
...
For some misbegotten reason Standard Ebooks has started producing these.
They truly believe consistency is the hobgoblin of small minds.
Fixes #2137122 [Parsing OPF3 dc:identifier URLs without url: prefix](https://bugs.launchpad.net/calibre/+bug/2137122 )
2026-01-19 20:02:32 +05:30
Kovid Goyal
e33ec4b6ec
Bump beta version
2026-01-19 19:31:27 +05:30
Kovid Goyal
c7039ef455
Edit book: Check book: Fix spurious unreferenced warnings for SMIL media overlay audio files
2026-01-19 19:29:09 +05:30
Kovid Goyal
c713f58dd6
Bump py7zr for CVE
2026-01-19 19:04:01 +05:30
Kovid Goyal
88df3dabc9
Edit book: Reports: Have pressing enter do the same action as double clicking the current entry. Fixes #2138179 [[Enhancement/Bug?] Book Editor - Report Words]( https://bugs.launchpad.net/calibre/+bug/2138179 )
2026-01-19 18:59:34 +05:30
Kovid Goyal
a2af05a467
Add a tooltip to the toolbar extension button
2026-01-19 17:11:49 +05:30
Kovid Goyal
263bdb3bc4
string changes
2026-01-19 17:04:33 +05:30
Kovid Goyal
889d66ecba
Show a notification informing user they need to restart calibre on enable/disable of plugin
2026-01-19 15:25:03 +05:30
Kovid Goyal
70023ceda8
Fix #2137097 [[Enhancement] Viewer: List keyboard shortcut on tooltip for Find Next/Previous Match]( https://bugs.launchpad.net/calibre/+bug/2137097 )
2026-01-19 15:00:26 +05:30
Kovid Goyal
999b6ce4ab
add some more explanatory text about toolbars to the customize widget
2026-01-19 14:41:39 +05:30
Kovid Goyal
febe7080e6
...
2026-01-19 11:13:37 +05:30