10-02-2013, 02:15 PM | #1 |
Enthusiast
Posts: 31
Karma: 10
Join Date: Aug 2013
Device: none
|
Fonts not being embedded (epub)
Hello.
I have written an ebook using LibreOffice and would like to convert it to epub while preserving/embedding fonts. I have made certain that I selected "embed fonts" in LibreOffice and exported the ODT file into Calibre for conversion. When I prepared the epub for output in Calibre, I made sure to select embed fonts and subset, etc. However, once Calibre converts my ebook from ODT to epub, and I transfer the epub to my Linux laptop for example, the fonts look generic and plain - completely unformatted. One step above a plain text document. When I 'unzipped' my epub I saw no mention anywhere of fonts. What can I do to correct this and make sure fonts actually do get embedded in my final epub documents? Thank you! |
10-02-2013, 04:01 PM | #2 |
Handy Elephant
Posts: 1,736
Karma: 26785668
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Thinkpad E595, Ubuntu Mate, Huawei Mediapad 5, Bouye Likebook Plus
|
I think it would be better if you export as html from Libre Office and then use Sigil to create the epub with the embedded fonts. That will give you much better control.
|
Advert | |
|
10-02-2013, 05:06 PM | #3 |
Enthusiast
Posts: 31
Karma: 10
Join Date: Aug 2013
Device: none
|
Thank you for replying! Hmm, I didn't consider that route. Can you tell me how I would go about doing that? I've never used Sigil before.
And isn't that more of a band-aid approach? Shouldn't LibreOffice-embedded fonts retain when Calibre converts to epub? It seems like it should. Thanks! |
10-02-2013, 05:30 PM | #4 |
Handy Elephant
Posts: 1,736
Karma: 26785668
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Thinkpad E595, Ubuntu Mate, Huawei Mediapad 5, Bouye Likebook Plus
|
I don't really think that calibre is intended as a tool to use to create ebooks. Even though it can be used for that. Calibre strengths are to manage a collection of books, handle devices and convert between formats.
If you intend to publish or spread your book some other way, as I assume is the case, I strongly recommend that you learn and use Sigil instead. If you try to use calibre I suspect that you will encounter a lot of problems, or your readers might. I really don't know if it is supposed to be possible to do what you tried to do with calibre, but even if it is, I would recommend that you use Sigil instead. It is the right tool. Sigil is nice and easy to use. But very powerful as well. And the strength of Sigil is actually to create ebooks. The best way to learn is most likely to just do it. Start with a small test book. Just a few pages. Learn how to export html from Libre Office and import in Sigil. How to embed fonts. How to adjust the layout. How to create table of contents. How to verify that the ebook is correct. And so on. And if you get stuck there is a subforum for Sigil here... Last edited by Adoby; 10-02-2013 at 05:34 PM. |
10-02-2013, 05:58 PM | #5 |
Enthusiast
Posts: 31
Karma: 10
Join Date: Aug 2013
Device: none
|
I'll certainly head over to the subforum, thanks - but fyi - I installed Sigil on Windows 8 and the GUI won't even load. Nothing happens after I install and try to run it. No process appears in task manager, no GUI, nothing.
Disabled AV software, tried restarting, etc. I hope I don't have to go chase around Qt files or dependencies just to make this open... I have a copy of Jutoh but haven't really tried it much, I wanted to stick with FLOSS software ideally. Last edited by soundsfromsound; 10-02-2013 at 06:01 PM. |
Advert | |
|
10-02-2013, 06:13 PM | #6 |
Handy Elephant
Posts: 1,736
Karma: 26785668
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Thinkpad E595, Ubuntu Mate, Huawei Mediapad 5, Bouye Likebook Plus
|
Sigil works fine on Linux.
|
10-02-2013, 11:13 PM | #7 |
creator of calibre
Posts: 43,853
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Font embedding is not supported by the library calibre uses for ODT. It is supported for docx however, so you can try saving your document in docx instead, if libreoffice is capable of that.
|
10-03-2013, 12:03 AM | #8 |
Enthusiast
Posts: 31
Karma: 10
Join Date: Aug 2013
Device: none
|
Touche I'll see if I can install it on Debian.
Thanks again for your help. http://code.google.com/p/sigil/wiki/RunningFromSource Do I really have to compile from source lol I'll try over at the Sigil subforum for help... thanks again! Just FYI: I got Sigil to install beautifully on my Debian box. Time to dig in! Last edited by soundsfromsound; 10-03-2013 at 12:39 AM. |
10-03-2013, 12:04 AM | #9 | |
Enthusiast
Posts: 31
Karma: 10
Join Date: Aug 2013
Device: none
|
Quote:
Thanks for all your work on calibre, it's simply the best! |
|
10-03-2013, 12:48 AM | #10 |
creator of calibre
Posts: 43,853
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You'd have to ask the maintainers of odfpy (the library calibre uses). Someday I might write my own ODT->HTML conversion library, but it is not high on my list of priorities.
|
10-03-2013, 07:07 AM | #11 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
|
|
10-04-2013, 01:09 AM | #12 | |
Enthusiast
Posts: 31
Karma: 10
Join Date: Aug 2013
Device: none
|
Quote:
The docx - to - epub did display all fonts correctly however on the SOURCE machine (i.e. the computer that was used to write the book and it had all fonts installed in the first place), which was very nice. But no, calibre is not embedding all fonts from docx to epub from my experience. At least none of my Linux machines were able to view fonts "embedded" by this process. I don't have access to a Windows computer that isn't the one with all the fonts installed on it. Have a good weekend! |
|
10-04-2013, 01:11 AM | #13 |
creator of calibre
Posts: 43,853
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Font embedding in docx most definitely works, see the sample docx document for an example: http://manual.calibre-ebook.com/conv...word-documents
|
10-04-2013, 01:13 AM | #14 | |
Enthusiast
Posts: 31
Karma: 10
Join Date: Aug 2013
Device: none
|
Quote:
Can you tell me what settings in calibre must be enabled or configured to guarantee 100% font embedding using docx? If I am able to get this working it would be fantastic! Thanks. Last edited by soundsfromsound; 10-04-2013 at 01:18 AM. |
|
10-04-2013, 01:42 AM | #15 |
creator of calibre
Posts: 43,853
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
There is no setting needed. Embedded fonts in the input document are always embedded in the output document, unless you have asked calibre to subset embedded fonts, in which case unused fonts are removed.
|
Tags |
embedding, epub, fonts |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HTML -> EPUB with no embedded fonts | doremifaso | Calibre | 10 | 09-25-2010 05:56 AM |
Embedded fonts in epub | erik5000 | ePub | 7 | 12-08-2009 11:55 AM |
Opus Opus, ePub and 'embedded' fonts | AnemicOak | Bookeen | 5 | 11-10-2009 12:21 PM |
ePub embedded fonts | JSWolf | Ectaco jetBook | 9 | 09-14-2009 08:43 PM |
ePub + Embedded Fonts | Cygfrydd | ePub | 11 | 03-02-2009 05:56 PM |