![]() |
#1 |
Member
![]() Posts: 12
Karma: 10
Join Date: Jul 2016
Location: Fremont, CA
Device: Kindle Paperwhite Signature Edition
|
Oasis, mobi, custom fonts oddities
Before I get into details, let me note that I am using Windows 7 64bit,
so I am using Calibre 64bit V3.48, which is the last which supports Windows 7. I recently got the new Oasis 10th gen, which is *very* beautiful. I installed a few custom TrueType fonts in the fonts directory, and they work great with azw3 and mobi books from Amazon. However, I have many epub books from external sources, and have been using Calibre to convert them to mobi and transfer to my Oasis. Sadly, most of those .mobi files do *not* support custom fonts. I also tried converting one of the files to azw3 ... this was an adventure! If I convert from .epub to .azw3 directly, I cannot change fonts at all... However, if I convert epub -> mobi, then mobi -> azw3, custom fonts *do* work. Line spacing is a little irregular for some reason, but I can live with it. What I'm hoping to find, though, is some way to either make the .mobi files work (with custom fonts) as they do when I get them from Amazon. So does anyone have any insights into how I might address this issue? |
![]() |
![]() |
![]() |
#2 |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,587
Karma: 14328510
Join Date: Nov 2019
Device: none
|
Unless you're an author or publisher selling books on amazon, mobi is an old and less capable format and best avoided. So azw3 is what you want to convert those epubs to. My experience is that if the book specifies fonts in its CSS then you won't be able to change them on the fly with your ereader (Oasis).
For example, using a recent book uploaded to the library here, pulpmeister's Carnacki the Ghostfinder - William Hope Hodgson.epub, in its CSS there are lines font-family: "Calibri", "sans-serif"; Just delete the entire line and after you've deleted them and saved the epub then convert it to azw3 and it should then let you change the font in your ereader. |
![]() |
![]() |
![]() |
#3 |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,587
Karma: 14328510
Join Date: Nov 2019
Device: none
|
Some books may also contain stuff like the following in their CSS; you can also delete it:
Code:
@font-face { font-family: "LinLibertineG30"; src: url(../Fonts/LinLibertineG30-Regular.ttf); font-weight: normal; font-style: normal; } After you delete the @font-face stuff you can then delete the font files that are in the Fonts folder inside the epub. You'll still need to delete the font-family lines as well. Last edited by hobnail; 01-08-2020 at 07:15 PM. |
![]() |
![]() |
![]() |
#4 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,587
Karma: 14328510
Join Date: Nov 2019
Device: none
|
Thanks, fixed it.
|
![]() |
![]() |
![]() |
#6 | |
Member
![]() Posts: 12
Karma: 10
Join Date: Jul 2016
Location: Fremont, CA
Device: Kindle Paperwhite Signature Edition
|
Quote:
I'm still uncertain why it worked when I did the convertion in two steps: epub -> mobi -> azw3 but did *not* work at all when I converted directly: epub -> azw3 ?? In any case, I will experiment with your suggestions about removing specific font information from the css files, and see how that alters the process. |
|
![]() |
![]() |
![]() |
#7 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,064
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Jon is correct.
That conversion sequence removed/sidestepped anything Mobi could not do. FOR GOOD. (Up format, Conversion does not put much, if any, into a book. It only makes what IS there, compatible) Do visit the Wiki here ar MR and you can read a bit about each format you want to use (before you do damage that might not be undone if you have no prior backup) |
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jan 2021
Device: kindle paperwhite
|
I found one solution, you can use Epubee manager instead of Calibre for conver to mobi. The result mobi file have 2 o 3 times more than size but support all custom fonts installed in kindle and you can send it by mail.
Uggla. |
![]() |
![]() |
![]() |
#10 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
That's because Epubee is converting to a dual-format Mobi and any Kindle that can handle KF8 is using the K8 part of the file. It is not doing anything special.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hacks Custom fonts as System fonts? | font332 | Amazon Kindle | 2 | 07-18-2019 11:54 PM |
Custom Fonts On Kindle Oasis | jabomano | Amazon Kindle | 8 | 02-01-2019 06:01 PM |
PRS-T3 T3 fonts & custom fonts | Phil_C | Sony Reader Dev Corner | 5 | 12-22-2013 02:34 PM |
Touch Fonts question (special characters in stock and custom fonts) | levil | Kobo Reader | 20 | 09-23-2011 01:51 PM |
Custom TTF fonts in MOBI books? | jpt | Astak EZReader | 21 | 11-21-2009 08:24 AM |