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 05-30-2025, 07:17 AM   #856
sushigal007
Junior Member
sushigal007 began at the beginning.
 
sushigal007's Avatar
 
Posts: 6
Karma: 10
Join Date: Mar 2011
Device: Amazon Fire
I'm also having the font issue, I shall roll back until fixed, thanks.
sushigal007 is offline   Reply With Quote
Old 05-30-2025, 04:04 PM   #857
ratspootin
Junior Member
ratspootin began at the beginning.
 
ratspootin's Avatar
 
Posts: 4
Karma: 10
Join Date: Jan 2023
Device: Kindle PW
Any of the google fonts like Open Sans or Noto Serif will have the font styles issue if you wanted to play with it. It's most noticeable when you select an extra bold serif font and the preview returns a sans-serif normal font.
ratspootin is offline   Reply With Quote
Old 05-31-2025, 03:01 PM   #858
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: 79,792
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by sushigal007 View Post
I'm also having the font issue, I shall roll back until fixed, thanks.
Don't roll back. What you can do instead is install a portable version of the calibre 7 and use that with this plugin and the current version with everything else.
JSWolf is offline   Reply With Quote
Old 06-02-2025, 12:02 PM   #859
sushigal007
Junior Member
sushigal007 began at the beginning.
 
sushigal007's Avatar
 
Posts: 6
Karma: 10
Join Date: Mar 2011
Device: Amazon Fire
I shall install a portable version until fixed, thanks.
sushigal007 is offline   Reply With Quote
Old 06-19-2025, 06:11 PM   #860
DBK
Junior Member
DBK began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2025
Device: Galaxy Tablet
So I have been using the Generate Cover extension. Very handy,. But all of a sudden I have been getting the following error. calibre, version 8.4.0

ERROR: Unhandled exception: <b>TypeError</b>:QRect(): arguments did not match any overloaded call:

overload 1: too many arguments

overload 2: argument 1 has unexpected type 'float'

overload 3: argument 1 has unexpected type 'float'

overload 4: argument 1 has unexpected type 'float'

overload 5: argument 1 has unexpected type 'float'

calibre 8.4 embedded-python: True

Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')

('Windows', '10', '10.0.26100')

Python 3.11.12

Windows: ('10', '10.0.26100', 'SP0', 'Multiprocessor Free')

Interface language: None

EXE path: C:\Program Files\Calibre2\calibre.exe

Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 25, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 25, 0) && EpubMerge (3, 2, 0) && EpubSplit (3, 11, 0) && FanFicFare (4, 46, 0) && Find Duplicates (1, 10, 9) && Generate Cover (2, 3, 5) && Goodreads (1, 8, 3) && KFX metadata reader (from KFX Input) (2, 25, 0) && From KFX (2, 25, 0) && KFX Input (2, 25, 0) && Set KFX metadata (from KFX Output) (2, 15, 0) && KFX Output (2, 15, 0) && Obok DeDRM (10, 0, 9) && Quality Check (1, 14, 2) && Standard Ebooks (1, 0, 0)

Traceback (most recent call last):

File "calibre_plugins.generate_cover.action", line 65, in _generate_cover

File "calibre_plugins.generate_cover.dialogs", line 1434, in __init__

File "calibre_plugins.generate_cover.dialogs", line 1729, in display_preview

File "calibre_plugins.generate_cover.draw", line 353, in generate_cover_for_book

File "calibre_plugins.generate_cover.draw", line 208, in create_cover_page

File "calibre_plugins.generate_cover.draw", line 126, in draw_sized_text

TypeError: QRect(): arguments did not match any overloaded call:

overload 1: too many arguments

overload 2: argument 1 has unexpected type 'float'

overload 3: argument 1 has unexpected type 'float'

overload 4: argument 1 has unexpected type 'float'

overload 5: argument 1 has unexpected type 'float'

This is on every book I try to use generate cover on. I have tried uninstalling it, restarting calibre, and reinstalling the extension and still have the issue. Any ideas?
DBK is offline   Reply With Quote
Old 06-20-2025, 11:17 PM   #861
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,730
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Generate Cover v2.3.6

Release Notes
https://github.com/kiwidude68/calibr...e_cover-v2.3.6

@DBK - not had anyone else report similar but try this version to see if it fixes your issue.
kiwidude is offline   Reply With Quote
Old 06-21-2025, 11:51 AM   #862
DBK
Junior Member
DBK began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2025
Device: Galaxy Tablet
Quote:
Originally Posted by kiwidude View Post
Release Notes
https://github.com/kiwidude68/calibr...e_cover-v2.3.6

@DBK - not had anyone else report similar but try this version to see if it fixes your issue.
Thanks so much. That did the trick.
DBK is offline   Reply With Quote
Old 07-24-2025, 08:49 PM   #863
MCBastos
Enthusiast
MCBastos is on a distinguished road
 
Posts: 43
Karma: 70
Join Date: Jan 2012
Location: Brazil
Device: Galaxy A16 5G
I have been having the weirdest issue with SVG on Generate Cover...

Some background first. I downloaded Kuzzzma's templates a while ago. I found them nice, but not quite what I was looking for. I decided to create my own.

Inspired by Kuzzzma's AO3 variants of those templates, I decided to create separate models for each major source of downloaded fiction I use -- AO3, Fanfiction.net, TTHfanfic etc, each one with a different basic color but following the same layout. I use the latest version of Inkscape, by the way.

It all went well at first. I obtained SVG logos for some of the sites, and I could embed them fine as editable objects. For a few of the sites, I could only manage to find a PNG logo (with transparency), and those embedded fine too.
I had a minor hiccup with one site which lacked a proper logo so I just used text in a fancy font; the SVG worked fine in Inkscape, Windows explorer, browsers etc. but the text got all out of alignment in Generate Cover; that was solved by converting the text into separate glyphs (and then it occurred to me that making the svg dependent on a font was a bad idea, so I converted it to curves). In fact, it all seemed to be going fine... until Patreon.
I can't fathom why, but Generate Cover persists on placing a back rectangle over the Patreon logo. I tried using SVG, PNG and even GIF versions of the logo; it made no difference. I thought that the SVG might be corrupted; I copied one of the templates I had made for other sites (and which were working) and just replaced the logo. Same thing. They render fine on browser, just not on Generate Cover.

I know this is just as far from serious as an issue can be; There is an easy workaround, I can always save the template as PNG instead of SVG. But the little OCD inside my mind is frustrated wondering what the heck could possibly be causing this behavior.
MCBastos 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 07:18 PM.


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