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 01-12-2025, 04:17 PM   #841
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
I don't follow what you mean by changing the image removes the custom text. That said, I think this template will do what you want.
Code:
program:
	'MerlinMama’s Library' & character('newline') & $#myrating & ' Stars — ' & $#myint & ' Pages'
You would use $#rating for $#myrating and $#pages for $#myint.

An alternate is
Code:
program:
	'MerlinMama’s Library' & character('newline') & template('{#myrating} Stars — {#myint} Pages')
chaley is offline   Reply With Quote
Old 01-12-2025, 06:13 PM   #842
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
For example, I corrected my custom text to include <br/>. For Book A. When I went to generate cover for Book B, everything was on a single line again, and I had to go add <br/> again. I did hit save, but after 5 tries, each time I changed from one cover to the next (even trying a previous cover I had fixed) it always went back to a single line.

I will try your fix when I get home from work. Thanks!

Last edited by MerlinMama; 01-13-2025 at 10:45 AM.
MerlinMama is offline   Reply With Quote
Advert
Old 01-13-2025, 10:48 AM   #843
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
Quote:
Originally Posted by chaley View Post
I don't follow what you mean by changing the image removes the custom text. That said, I think this template will do what you want.
Code:
program:
	'MerlinMama’s Library' & character('newline') & $#myrating & ' Stars — ' & $#myint & ' Pages'
You would use $#rating for $#myrating and $#pages for $#myint.

An alternate is
Code:
program:
	'MerlinMama’s Library' & character('newline') & template('{#myrating} Stars — {#myint} Pages')
I couldn't get these to work (more a me problem I’m sure). I just don't understand the template language very well.

I did get it to work with \n<br/>\n. Strangely, this gives me a single space rather than a double space. Not sure why
MerlinMama is offline   Reply With Quote
Old 01-15-2025, 03:54 PM   #844
MidwestJen
Enthusiast
MidwestJen began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Oct 2014
Device: Kindle Fire HD, Kindle Paperwhite, K1 (ret), K2 (ret)
Is there a quick and easy way I can go back to the previous version before the lines and spacing got all messed up? I've got many many covers (mostly different only on colors) that I use as indicators of a ff genre, and I really really don't want to have to fix them all. Not that I'm even sure how to fix them, since I don't really deal with html coding.

I'd rather just stick with what was there before. I'm hoping if you don't have a way to backtrack that I can fix it via a backup, but otherwise I'm looking at spending a couple hours fixing something that I've had set up and hadn't changed for years.

EDIT: Nevermind, I figured out how to navigate github and snag the 2.34. I've already loaded it and it works the way it used to. *cheer*

Last edited by MidwestJen; 01-15-2025 at 04:04 PM. Reason: updated information
MidwestJen is offline   Reply With Quote
Old 01-15-2025, 04:06 PM   #845
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
If you mean 2.3.4, you can get it here:

https://github.com/kiwidude68/calibr...e_cover-v2.3.4
Comfy.n is offline   Reply With Quote
Advert
Old 03-05-2025, 06:01 AM   #846
texasnightowl
Guru
texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.
 
Posts: 797
Karma: 2873645
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
Just installed Generate Cover for the first time. I added it because I downloaded some covers by kuzzzma from this post: https://www.mobileread.com/forums/sh...&postcount=251

The set has 36 color options. I've added about 8-10 of the color options to the Select Image list.

If I select like 50 or 100 books, is there anyway to randomize or alternate between the multiple color images instead of all 50 or 100 being the same one color?
texasnightowl is offline   Reply With Quote
Old 03-10-2025, 05:39 PM   #847
kuzzzma
Junior Member
kuzzzma can read faster than his screen refresheskuzzzma can read faster than his screen refresheskuzzzma can read faster than his screen refresheskuzzzma can read faster than his screen refresheskuzzzma can read faster than his screen refresheskuzzzma can read faster than his screen refresheskuzzzma can read faster than his screen refresheskuzzzma can read faster than his screen refresheskuzzzma can read faster than his screen refresheskuzzzma can read faster than his screen refresheskuzzzma can read faster than his screen refreshes
 
kuzzzma's Avatar
 
Posts: 3
Karma: 14098
Join Date: Feb 2025
Device: Android phone
Quote:
Originally Posted by texasnightowl View Post
If I select like 50 or 100 books, is there anyway to randomize or alternate between the multiple color images instead of all 50 or 100 being the same one color?
I wished for the same option when designed and used those covers - random selection of images for batches!

Another wishlist item: option to select individual colors for various texts (Author/Title/Series/Custom), now they all use the same one, it would be nice to be able to specify each one individually.
kuzzzma is offline   Reply With Quote
Old 03-11-2025, 08:25 PM   #848
mijkala
Junior Member
mijkala began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2024
Device: kobo clara bw
I'm still new to this site and using Calibre, so apologies if this is in the wrong place.

Does anyone know why when I generate a cover, my tags get re-ordered? They are in the desired order on the metadata page, but once I use the Generate Cover plugin, it alphabetizes it. I don't want this bc I use the tag order to know importance to the fic and what the main topics are.

However other things from custom columns are fine and stay in the order I put them in. (Yes I've notice and since corrected the typo)
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2025-03-11 at 20.15.25.png
Views:	57
Size:	19.4 KB
ID:	214283   Click image for larger version

Name:	Screenshot 2025-03-11 at 20.21.27.png
Views:	69
Size:	149.0 KB
ID:	214284   Click image for larger version

Name:	Screenshot 2025-03-11 at 20.21.36.png
Views:	82
Size:	552.5 KB
ID:	214285  
mijkala is offline   Reply With Quote
Old 03-22-2025, 02:51 PM   #849
MCBastos
Enthusiast
MCBastos is on a distinguished road
 
Posts: 42
Karma: 70
Join Date: Jan 2012
Location: Brazil
Device: Galaxy A16 5G
Something rather odd, I think...

Since I upgraded Calibre from version 7.26 to 8.01, Generate Cover appears unable to render some of the fonts I have installed -- instead, it renders them as a generic sans-serif font. I can pick the fonts from the list, but they are not rendered correctly. Reverting to 7.26 fixes the problem.

All the affected fonts appear to be OpenType (.otf) rather than TrueType. But not all OpenType fonts are affected.

Windows 10 22H2, 64 bits, AMD Ryzen 7 5700G using the internal video circuits.
MCBastos is offline   Reply With Quote
Old 03-22-2025, 04:37 PM   #850
Clem2605
Connoisseur
Clem2605 began at the beginning.
 
Posts: 52
Karma: 10
Join Date: May 2020
Device: Kobo H2O, Kobo Libra H2O, Boox Tab Ultra C
Quote:
Originally Posted by MCBastos View Post
Something rather odd, I think...

Since I upgraded Calibre from version 7.26 to 8.01, Generate Cover appears unable to render some of the fonts I have installed -- instead, it renders them as a generic sans-serif font. I can pick the fonts from the list, but they are not rendered correctly. Reverting to 7.26 fixes the problem.

All the affected fonts appear to be OpenType (.otf) rather than TrueType. But not all OpenType fonts are affected.

Windows 10 22H2, 64 bits, AMD Ryzen 7 5700G using the internal video circuits.
I just noticed the exact same issue, I'm on Windows 11, and the font I use is in a TrueType format so I don't think it's format-specific.
Clem2605 is offline   Reply With Quote
Old 03-22-2025, 11:21 PM   #851
w4tchdoge
Enthusiast
w4tchdoge began at the beginning.
 
w4tchdoge's Avatar
 
Posts: 29
Karma: 10
Join Date: Jul 2023
Device: Calibre
Same issue here. From what I've noticed it only seems to be a problem with fonts that have a font-weight that isn't 400/normal (Bold, Semi-Bold, Light, Extra-Light, etc)

I'm on Calibre version 8.0.0

System Information:
Spoiler:
OS Name : Microsoft Windows 11 Home Single Language
Version : 10.0.22631 Build 22631
System Manufacturer : Micro-Star International Co., Ltd.
System Model : Katana A15 AI B8VF
System Type : x64-based PC
Processor : AMD Ryzen 9 8945HS w/ Radeon 780M Graphics, 4001 Mhz, 8 Core(s), 16 Logical Processor(s)
BIOS Version/Date : American Megatrends International, LLC. E158NAMS.509, 2024-03-13
SMBIOS Version : 3.5
Embedded Controller Version : 255.255
BIOS Mode : UEFI
BaseBoard Manufacturer : Micro-Star International Co., Ltd.
BaseBoard Product : MS-158N
BaseBoard Version : REV:1.0
Platform Role : Mobile

Last edited by w4tchdoge; 03-22-2025 at 11:29 PM.
w4tchdoge is offline   Reply With Quote
Old 03-23-2025, 12:50 AM   #852
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by MCBastos View Post
Something rather odd, I think...

Since I upgraded Calibre from version 7.26 to 8.01, Generate Cover appears unable to render some of the fonts I have installed -- instead, it renders them as a generic sans-serif font. I can pick the fonts from the list, but they are not rendered correctly. Reverting to 7.26 fixes the problem.

All the affected fonts appear to be OpenType (.otf) rather than TrueType. But not all OpenType fonts are affected.

Windows 10 22H2, 64 bits, AMD Ryzen 7 5700G using the internal video circuits.
Good catch. I just tested on fresh calibre portable installs of 7.26 and 8.01 and also noticed this.

I suspect some Qt 6.8.2 related issue.
Comfy.n is offline   Reply With Quote
Old 03-26-2025, 09:51 PM   #853
drunkvaultgirl
Junior Member
drunkvaultgirl began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2025
Device: Kobo Libra H20
I have this exact same inquiry. I would really love to just randomize covers in bulk. Bumping this!

Quote:
Originally Posted by texasnightowl View Post
Just installed Generate Cover for the first time. I added it because I downloaded some covers by kuzzzma from this post: https://www.mobileread.com/forums/sh...&postcount=251

The set has 36 color options. I've added about 8-10 of the color options to the Select Image list.

If I select like 50 or 100 books, is there anyway to randomize or alternate between the multiple color images instead of all 50 or 100 being the same one color?
drunkvaultgirl is offline   Reply With Quote
Old 05-28-2025, 01:45 AM   #854
Saiyuki_Eiri
Junior Member
Saiyuki_Eiri began at the beginning.
 
Saiyuki_Eiri's Avatar
 
Posts: 2
Karma: 10
Join Date: Apr 2022
Location: Somewhere around the world
Device: Kindle Manga
Quote:
Originally Posted by w4tchdoge View Post
Same issue here. From what I've noticed it only seems to be a problem with fonts that have a font-weight that isn't 400/normal (Bold, Semi-Bold, Light, Extra-Light, etc)

I'm on Calibre version 8.0.0

System Information:
Spoiler:
OS Name : Microsoft Windows 11 Home Single Language
Version : 10.0.22631 Build 22631
System Manufacturer : Micro-Star International Co., Ltd.
System Model : Katana A15 AI B8VF
System Type : x64-based PC
Processor : AMD Ryzen 9 8945HS w/ Radeon 780M Graphics, 4001 Mhz, 8 Core(s), 16 Logical Processor(s)
BIOS Version/Date : American Megatrends International, LLC. E158NAMS.509, 2024-03-13
SMBIOS Version : 3.5
Embedded Controller Version : 255.255
BIOS Mode : UEFI
BaseBoard Manufacturer : Micro-Star International Co., Ltd.
BaseBoard Product : MS-158N
BaseBoard Version : REV:1.0
Platform Role : Mobile
Hello! Anyone has been able to solve this? I'm having the same problem. And yes, it's only fonts with a different font-weight. Thanks!

Windows 10 Pro 22H2
64 bits
Intel Core i7
Saiyuki_Eiri is offline   Reply With Quote
Old 05-29-2025, 11:52 PM   #855
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,729
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by Saiyuki_Eiri View Post
Hello! Anyone has been able to solve this? I'm having the same problem. And yes, it's only fonts with a different font-weight. Thanks!

Windows 10 Pro 22H2
64 bits
Intel Core i7
As far as I am concerned it is a "calibre" problem (from the Qt upgrade) not a plugin specific issue. I asked Kovid about it in a separate thread in the developers forum, he said there was nothing wrong with my code (which hasn't changed). Personally I haven't seen the issue/use the plugin enough to see the issue and know exactly which font(s) demonstrate the problem.

As for the workaround, use calibre 7.x which never had the issue. Then just hope that one day a future calibre upgrade uses a later version again of Qt that may have the problem fixed... absolutely nothing I can do about it.
kiwidude is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Goodreads Sync kiwidude Plugins 1781 02-12-2025 07:09 PM
[GUI Plugin] Clipboard Search kiwidude Plugins 29 04-02-2024 10:05 PM
[GUI Plugin] User Category kiwidude Plugins 123 03-16-2024 11:59 PM
[GUI Plugin] Quick Preferences kiwidude Plugins 62 03-16-2024 11:47 PM


All times are GMT -4. The time now is 05:17 PM.


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