![]() |
#301 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,144
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#302 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,050
Karma: 11391181
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
Dear Kovid, it's a little off topic, and I surely don't want to abuse your patience and time, but I did press the "Install fonts" button in the manage fonts dialog - with no result (as described above).
This evening, I shall try to define the font as system font - but, sincerely, I have little hope. |
![]() |
![]() |
![]() |
#303 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,050
Karma: 11391181
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
I installed the font as a system font, repeated the procedure, pressed the "install fonts" button in the manage fonts dialog - with the same error report. I did this on two of my computers.
There must be something fundamental that I'm doing wrong, as nobody else seems to have this problem. |
![]() |
![]() |
![]() |
#304 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,246
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
@Leonatus,
From everything you've said my guess is that url you have used in your @font-face is not quite correct for the actual internal directory structure in this particular book. Code:
@font-face { font-family:"FoglihtenNo07"; src: url(../Fonts/FoglihtenNo07_0841.otf); } However, calibre does not do an automatic folder reorganisation when you open an epub. The @font-face url needs to be correct for the location of the .otf font file relative to the location of the CSS file. For example, if your CSS file is located in the parent directory of the Fonts/ subdirectory then the url would need to be coded as: Code:
@font-face {
font-family:"FoglihtenNo07";
src: url(Fonts/FoglihtenNo07_0841.otf);
}
Another thing to double-check. Everything is case-sensitive, e.g. Fonts/ is not the same as fonts/ - so make sure your url reflects actual file and directory names. Last edited by jackie_w; 10-17-2016 at 12:29 PM. Reason: Tools - Arrange folders |
![]() |
![]() |
![]() |
#305 | |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,144
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
![]() |
![]() |
![]() |
#306 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,050
Karma: 11391181
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
@jackie_w: To replace "OEBPS" by ".." has been my first reaction, but it had no result, as well as other variants that I tried, for ex. leaving away "OEBPS" or ".." and beginning immediately with "Fonts", as you suggest.
The possibility of using the "Arrange folders" option has been until now unknown to me (thanks for the hint!). I tried it with a book where the adding of my font had worked (by working out in Sigil and re-opening in Calibre), and in the "Arrange folders" option, the sub-directory is "fonts", whereas in the page-style-css, I have "OEBPS/Fonts"; I saw books in Calibre with "fonts" in the page-style-css, and everything was working. So, I doubt if Calibre is really so strongly case-sensitive. But thank you for your support! @Kovid: I forgot to mention, sorry! But I had pressed the "Embed all fonts" button. Could it be that the name of the font causes the problems, by any characters that are difficult to handle, perhaps? @jackie_w: I just tried it once more, with the help of your suggestion ("Arrange folders"). After clicking "OK", the declaration in the page-style-css changed to Code:
src: url(../../fonts/FoglihtenNo07_0841.otf);
I've no idea from where comes the double subdirectory, but I'm glad now! Many, many thanks to all! ![]() Last edited by Leonatus; 10-17-2016 at 03:09 PM. |
![]() |
![]() |
![]() |
#307 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,246
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
You're welcome
![]() Might I also suggest that in the Editor you go to Edit - Preferences and on the 'Main Window' settings page check the last box, labeled 'Show full file paths in the Files Browser'. This will make it far more obvious exactly which directory (or sub-sub-directory!) each of your files resides in. This will make it much easier to set urls, anchor-links, etc correctly. |
![]() |
![]() |
![]() |
#308 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,050
Karma: 11391181
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
Quote:
Code:
@font-face {
font-family: "FoglihtenNo07";
src: url(../fonts/FoglihtenNo07_0841.otf);
}
in others, let's say: Code:
@font-face {
font-family: "FoglihtenNo07";
src: url(OEBPS/Fonts/FoglihtenNo07_0841.otf);
}
|
|
![]() |
![]() |
![]() |
#309 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 517
Karma: 8500000
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe, Kindle 4 Touch
|
I've fixed the bug where this plugin causes Sigil images to not be visible. The plugin now uses the same method to launch as Calibre does.
The version number has been bumped up, and changelog edited, as well. I don't want to maintain this plugin, but I thought other people might like the fix, and maybe Kovid can replace the version in the first post. |
![]() |
![]() |
![]() |
#310 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,432
Karma: 167726581
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Thanks for the update. I know I can use Calibre's built in open with functionality but this saves me from mixing right and left clicks.
|
![]() |
![]() |
![]() |
#311 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,334
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
So, in essence, the plugin was always launching Sigil incorrectly, but it just "worked" while Sigil and calibre were using compatible versions of Qt plugin dlls; and didn't work when they differed. I just never got around to looking at Kovid's integral "Open with" code to see what he was doing differently. Thanks again. |
|
![]() |
![]() |
![]() |
#312 | |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 517
Karma: 8500000
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe, Kindle 4 Touch
|
Quote:
BTW, I had never touched Python before this. Most of my mistakes in debugging were caused by whitespace errors, and that's why I'll probably never touch Python again if I can avoid it. |
|
![]() |
![]() |
![]() |
#313 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,334
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#314 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2012
Location: Republic of Texas
Device: Amazon Kindle Keypad
|
Missing After 2.85.1 Update
I used to be able to right-click on the Kindle format of any book and then the open with... option would be included in the content menu that opened, allowing me to select the Kindle option (once it was set) and read the book in the Kindle desktop app.
For some reason that option is now missing and I'm not sure exactly when it first went "missing." I have updated my copy of Calibre to 2.85.1 x64 version. Any known issues or help you might offer? |
![]() |
![]() |
![]() |
#315 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
As far as I can tell, the plugin is working. I configuration for I have for handling Kindle formats is there and attempts to start something. But, I don't have the application it tries to use, so while it tries to do something, it doesn't work. I think it would work if I had that application installed.
If something is missing from the menu, check the configuration and make sure it is still there. If it is and the entry doesn't appear on the menu, there should be an error somewhere. You might have to run calibre in debug mode to see it. |
![]() |
![]() |
![]() |
Tags |
conversion, kepubify |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Search the Internet | kiwidude | Plugins | 434 | 09-30-2024 03:04 AM |
New Plugin Type Idea: Library Plugin | cgranade | Plugins | 3 | 09-15-2010 12:11 PM |
Gui confusements. | brewt | Calibre | 8 | 12-30-2008 12:16 PM |
Reference Open eBook Forum: Open eBook Publication Structure. IMP. V1.0.1 14 September 2007 | DaleDe | IMP Books | 0 | 09-14-2007 05:06 PM |
iLiad GUI for the iLiad | tribble | iRex Developer's Corner | 1 | 06-01-2007 02:29 PM |