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,871
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 offline   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,620
Karma: 154365185
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 online now   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,871
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 offline   Reply With Quote
Old Yesterday, 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 Today, 06:21 AM   #935
ovillo
Connoisseur
ovillo began at the beginning.
 
ovillo's Avatar
 
Posts: 50
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
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 07:22 AM.


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