Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 11-10-2026, 09:06 AM   #931
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,873
Karma: 2220332
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by version365 View Post
But the older versions of Qt5 calibre also has that font style choosing options in calibre settings. Can that list of font styles not be 'imported' to the plugin's dropdown menu?
It would have to be another UI redesign and config refactor, to replace all the UI elements with a button to open the font dialog, then converting the properties of that font into serializable JSON properties for the config file. There are pros and cons with either approach. Relying on QFontDialog interferes with the live preview of the response, users would have to manually drag windows around to see the impact of their changes as they flip fonts and sizes. Constantly closing and reopening it as they tweak other settings like alignment or padding in between. Given that several people including yourself complained about a lack of screen real estate with it as is, this could be seen as a big backwards step from a usability perspective. All just to gain a small number of additional font variations which no-one other than yourself has expressed any interest in.

Is it technically possible? Yes. Is it the “right” choice to do? Questionable. There are reasons why most editing apps have historically “inlined” font settings into simplified dropdowns and buttons. The tradeoff is less font selection, but sometimes less is more.

Not saying I won’t do it but I’m not going to rush into it. Plus I have to find the time to make more changes, which as always is at a premium.
kiwidude is online now   Reply With Quote
Old 11-10-2026, 10:17 AM   #932
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 85,717
Karma: 154365285
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
How about a check for what version of calibre (qt5 or qt6 and supporting fonts based on the QT version)?
JSWolf is offline   Reply With Quote
Old 11-10-2026, 08:08 PM   #933
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,873
Karma: 2220332
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by JSWolf View Post
How about a check for what version of calibre (qt5 or qt6 and supporting fonts based on the QT version)?
That still wouldn’t support what is being asked for (plus it just makes the code harder to read/maintain).

What I implemented was a static dropdown selection of weight options of which technically 3 more can be added to with Qt6 (two lighter and one heavier at extremes of the list from memory). I restricted it to just those that were common to Qt5 and Qt6.

What that means is as a user you can choose combinations of font + weight that don’t actually exist as an explicit font variation installed on your system. If that is the case then Qt does an interpolated attempt for drawing purposes. Much of the time most people won’t notice a difference unless you go pixel peeping or certain fonts not reacting well to such scaling.

The font dialog is instead based on a database showing you only font style variations that exist on your system as the font designer intended. Which means in some cases less combinations/flexibility than what I have implemented for some fonts. If the font designer only created “regular” and “bold regular” then that means no ability to render it as “light” or “extra bold” or italic etc.

Some purists might argue that is what they want - only fonts rendered to the best the font designer could design, rather than approximated rendering. Other users prefer dialing in the fonts to look exactly like what appeals to them.

Can’t keep everyone happy all of the time as every plugin thread shows…
kiwidude is online now   Reply With Quote
Old 11-12-2026, 06:06 AM   #934
version365
Enthusiast
version365 began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Mar 2016
Device: none
Quote:
Originally Posted by kiwidude View Post
It would have to be another UI redesign and config refactor, to replace all the UI elements with a button to open the font dialog, then converting the properties of that font into serializable JSON properties for the config file. There are pros and cons with either approach. Relying on QFontDialog interferes with the live preview of the response, users would have to manually drag windows around to see the impact of their changes as they flip fonts and sizes. Constantly closing and reopening it as they tweak other settings like alignment or padding in between. Given that several people including yourself complained about a lack of screen real estate with it as is, this could be seen as a big backwards step from a usability perspective. All just to gain a small number of additional font variations which no-one other than yourself has expressed any interest in.

Is it technically possible? Yes. Is it the “right” choice to do? Questionable. There are reasons why most editing apps have historically “inlined” font settings into simplified dropdowns and buttons. The tradeoff is less font selection, but sometimes less is more.
Oh no no.. I wasn't asking for a full font choosing window or dialog like in calibre. The current dropdown menu is perfect for the small space of the plugin window. I was asking if those different font weights/styles can be shown as a dropdown similar to what it is now.. but actual installed weights/styles instead of appropriated ones.

Quote:
Originally Posted by kiwidude View Post
Not saying I won’t do it but I’m not going to rush into it. Plus I have to find the time to make more changes, which as always is at a premium.
Don't worry about it. If this is too much of work, then leave it as it is. It's not too much a trouble anyways..
Thank you for all the hard work you did so far.
version365 is offline   Reply With Quote
Old 11-13-2026, 06:21 AM   #935
ovillo
Connoisseur
ovillo began at the beginning.
 
ovillo's Avatar
 
Posts: 54
Karma: 30
Join Date: Jan 2019
Device: Boox Go, Kindle paperwhite
Quote:
Originally Posted by ernand View Post
Question on the new version.
Is there a way to have a list displayed in separate lines instead of a single line???

I have a {#fandoms} that might contain a list of series names. When I use it in the Custom Text section for the covers, I get the following:
NAME_1, NAME_2, NAME_3, NAME_4
I was wondering if there is a way for it to display as:
NAME_1,
NAME_2,
NAME_3,
NAME_4
this should do it:
Code:
{#fandoms:re(\, ,\,\n)}
ovillo is offline   Reply With Quote
Old 11-14-2026, 03:32 PM   #936
ShoeQueen
Member
ShoeQueen began at the beginning.
 
ShoeQueen's Avatar
 
Posts: 10
Karma: 10
Join Date: Oct 2019
Device: Android
Thank you for the update! All full page covers appear to be lining up properly again. Much appreciated!
ShoeQueen is offline   Reply With Quote
Old 11-15-2026, 07:15 AM   #937
danteeeh
Junior Member
danteeeh began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2026
Device: Kobo Libra 2
Thank you for your work on the plugin. I have updated it from the old version, and now it won't work or open: it just gives me this error

Quote:
calibre, version 9.18.0
ERROR: Unhandled exception: <b>TypeError</b>:QRect(): arguments did not match any overloaded call:
overload 1: too many arguments
overload 2: argument 3 has unexpected type 'float'
overload 3: argument 1 has unexpected type 'int'
overload 4: argument 1 has unexpected type 'int'
overload 5: argument 1 has unexpected type 'int'

calibre 9.18 embedded-python: True
Windows-11-10.0.26200-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '11', '10.0.26200')
Python 3.14.10
Windows: ('11', '10.0.26200', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: Count Pages (1, 15, 3) && EpubSplit (3, 12, 0) && Extract ISBN (1, 6, 7) && FanFicFare (4, 63, 0) && Find Duplicates (1, 10, 11) && Generate Cover (2, 5, 3) && Hardcover (0, 5, 0) && KOReader Sync (0, 8, 2) && Kobo Metadata (1, 14, 0) && Kobo Utilities (2, 29, 0) && PDF Cover (0, 1, 0) && Quick Preferences (1, 7, 4) && Reading List (1, 15, 9)
Traceback (most recent call last):
File "calibre_plugins.generate_cover.action", line 65, in _generate_cover
File "calibre_plugins.generate_cover.dialogs", line 1693, in __init__
File "calibre_plugins.generate_cover.dialogs", line 2199, in display_preview
File "calibre_plugins.generate_cover.draw", line 610, in generate_cover_for_book
File "calibre_plugins.generate_cover.draw", line 435, in create_cover_page
File "calibre_plugins.generate_cover.draw", line 226, in measure_text_height
TypeError: QRect(): arguments did not match any overloaded call:
overload 1: too many arguments
overload 2: argument 3 has unexpected type 'float'
overload 3: argument 1 has unexpected type 'int'
overload 4: argument 1 has unexpected type 'int'
overload 5: argument 1 has unexpected type 'int'
I have tried uninstalling and reinstalling it, but it still will not open. I am not sure what to do next?
danteeeh is offline   Reply With Quote
Old 11-15-2026, 07:16 AM   #938
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,873
Karma: 2220332
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by danteeeh View Post
Thank you for your work on the plugin. I have updated it from the old version, and now it won't work or open: it just gives me this error



I have tried uninstalling and reinstalling it, but it still will not open. I am not sure what to do next?
@danteeeh - I have a fix for this but as I couldn't replicate the issue myself I hadnt released it as only one person had reported the issue. Let me publicly release it...
kiwidude is online now   Reply With Quote
Old 11-15-2026, 07:20 AM   #939
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,873
Karma: 2220332
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Generate Cover release

Release Notes:
https://github.com/kiwidude68/calibr...te_cover-2.5.4

Hopefully this addresses a rare issue I wasn't able to replicate.
kiwidude is online now   Reply With Quote
Old 11-15-2026, 03:33 PM   #940
danteeeh
Junior Member
danteeeh began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2026
Device: Kobo Libra 2
Quote:
Originally Posted by kiwidude View Post
Release Notes:
https://github.com/kiwidude68/calibr...te_cover-2.5.4

Hopefully this addresses a rare issue I wasn't able to replicate.
It worked for me, thank you for the fix! splendid update overall
danteeeh is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Goodreads Sync kiwidude Plugins 1825 10-28-2026 01:32 PM
[GUI Plugin] User Category kiwidude Plugins 128 10-24-2026 09:01 AM
[GUI Plugin] Quick Preferences kiwidude Plugins 65 10-23-2026 11:09 PM
[GUI Plugin] Clipboard Search kiwidude Plugins 31 10-16-2026 10:54 PM
[GUI Plugin] Open With kiwidude Plugins 406 10-10-2026 01:59 AM


All times are GMT -4. The time now is 04:19 PM.


MobileRead.com is a privately owned, operated and funded community.