Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 05-07-2019, 05:23 AM   #631
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 23,204
Karma: 24100002
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab A, Kobo Aura2
Quote:
Originally Posted by BetterRed View Post
I can see Cooper Black in Generate Cover, I don't think there is a plain Cooper

Attachment 171344

I haven't added any fonts in decades, so it must be part of win 10 furniture, have a look at Control Panel fonts to see if its hidden or something. Here it is showing between Constantia and Copperplate Gothic

BR
Interesting, I don't have it on W10 Pro. I wonder if it is part of OFFICE installs (I don't have that).
theducks is online now   Reply With Quote
Old 05-07-2019, 06:08 AM   #632
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 13,333
Karma: 10793754
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by theducks View Post
Interesting, I don't have it on W10 Pro. I wonder if it is part of OFFICE installs (I don't have that).
Possibly, my Cooper Black is in the Windows\Fonts folder - FWIW I have 189 fonts in there - none of which were added specifically, i.e. they all came via 'something'

BR
BetterRed is offline   Reply With Quote
Old 05-07-2019, 10:27 AM   #633
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 23,204
Karma: 24100002
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab A, Kobo Aura2
Quote:
Originally Posted by BetterRed View Post
Possibly, my Cooper Black is in the Windows\Fonts folder - FWIW I have 189 fonts in there - none of which were added specifically, i.e. they all came via 'something'

BR
Just checked my wife's W10 Home, cooper and copperplate are on that one.
M$, go figure
theducks is online now   Reply With Quote
Old 05-07-2019, 05:06 PM   #634
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 13,333
Karma: 10793754
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Could be a factor of whether Win10 came via an upgrade from Win7 or a new install, mine is new install. Doesn't explain why DawnB2 can't see it in GC but can see it elsewhere.

BR
BetterRed is offline   Reply With Quote
Old 05-07-2019, 06:33 PM   #635
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 3,972
Karma: 9300000
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, iPad 9.7, iPad 12.9
Perhaps Calibre keeps a font cache and file permissions are preventing it from being updated? I'm aware of GC not being able to use different font weights but I think this is the first time I've heard of it not seeing completely different fonts.
ilovejedd is offline   Reply With Quote
Old 05-09-2019, 10:23 PM   #636
dwig
Wizard
dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.
 
dwig's Avatar
 
Posts: 1,558
Karma: 4190000
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
Quote:
Originally Posted by BetterRed View Post
I can see Cooper Black in Generate Cover, I don't think there is a plain Cooper
...
There is such a thing. The original designer, Oswald Bruce Cooper, designed a reasonably complete set as Cooper Old Style, originally, which was later named just Cooper. He derived Cooper Black from the original set for use as a large display font. He also designed several other font families, which generally incorporate his name.

I have quite a hodge-podge collection of fonts from a wide range of sources. The only "Cooper" fonts on the device I'm using right now are Cooper Black and Cooper Black Italic. These came from Adobe and oddly are listed in Win10's Settings>Personalization>Fonts as being "Cooper Std". I have the Cooper Old Style family somewhere, but it's not installed on this system so I can't check the naming. Of the Cooper fonts on this Win10 system, only the black shows, as "Cooper Std Black", in GC and the italic variant is not listed.
dwig is online now   Reply With Quote
Old 05-10-2019, 12:54 AM   #637
DawnB2
Junior Member
DawnB2 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2013
Device: Kindle Paperwhite
The system is brand new & has oem Win 10 Pro. The font is already installed in Windows (that's the first thing I checked).

I was able to fix the problem by adding the front in the edit metadata/generate cover section. Once I added the font family in the calibre generate cover settings the plugin version is now able to see the Cooper fonts ( I have both Cooper Black and Cooper Black Italic).

Not sure why the main calibre program saw the font & the built-in generate cover didn't. I'm just glad adding the font to the built-in version also added it to the plugin version.
DawnB2 is offline   Reply With Quote
Old 06-02-2019, 05:39 PM   #638
madame_newbie
Enthusiast
madame_newbie began at the beginning.
 
madame_newbie's Avatar
 
Posts: 33
Karma: 10
Join Date: Mar 2017
Device: Kindle Basic 2014 | Kindle Paperwhite 3
Quote:
Originally Posted by DawnB2 View Post
The system is brand new & has oem Win 10 Pro. The font is already installed in Windows (that's the first thing I checked).

I was able to fix the problem by adding the front in the edit metadata/generate cover section. Once I added the font family in the calibre generate cover settings the plugin version is now able to see the Cooper fonts ( I have both Cooper Black and Cooper Black Italic).

Not sure why the main calibre program saw the font & the built-in generate cover didn't. I'm just glad adding the font to the built-in version also added it to the plugin version.
Yup, I have the same problem too. Am not sure why the calibre system acknowledges the added fonts but not the Generate Cover plug-in. The odd thing is it's very...random, some new fonts I added will be acknowledged but some will not.
madame_newbie is offline   Reply With Quote
Old 06-16-2019, 06:59 AM   #639
worstje
Member
worstje began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jun 2019
Device: none
I ran into a bug while using this. The image can end up not being properly centered if fitting to the available space and using an image border.

To fix it, include:

Code:
            lwidth, lheight = logo.size  # add_border() changes dimensions
after line 231. The relevant snippet of code should now look as follows:

Code:
    if not is_background_image and display_image and available[1] > 40:
        logo = Image()
        logo.open(image_path)
        lwidth, lheight = logo.size
        available = (available[0] - image_border_width * 2,
                     available[1] - image_border_width * 2)
        scaled, lwidth, lheight = fit_image(lwidth, lheight, *available)
        if not scaled and options.get(cfg.KEY_RESIZE_IMAGE_TO_FIT, False):
            scaled, lwidth, lheight = scaleup_image(
                lwidth, lheight, *available)
        if scaled:
            logo.size = (lwidth, lheight)
        if image_border_width > 0:
            logo = add_border(logo, image_border_width, border_color, bgcolor)
            lwidth, lheight = logo.size  # add_border() changes dimensions

        left = int(max(0, (width - lwidth) / 2.))
        top = top + image_mgn + ((available[1] - lheight) / 2.)
        canvas.compose(logo, int(left), int(top))
Note: I am not sure if this is the ideal fix. (I think that it might just subtly breaks the logic of the available space and exceeds it? The logic confuses me!) I just know it fixes it well enough for me in practice given that there's always plenty of padding and margins all around on my covers.

A sincere thank you goes out to whoever maintains this plugin nowadays.

Last edited by worstje; 06-16-2019 at 07:03 AM. Reason: gotta be more specific
worstje is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Goodreads Sync kiwidude Plugins 1224 06-08-2019 08:46 PM
[GUI Plugin] User Category kiwidude Plugins 82 03-07-2019 04:11 AM
[GUI Plugin] Open With kiwidude Plugins 332 08-31-2018 08:54 AM
[GUI Plugin] Quick Preferences kiwidude Plugins 33 06-20-2018 03:00 AM
[GUI Plugin] Clipboard Search kiwidude Plugins 9 08-12-2014 03:36 AM


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


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