![]() |
#1 |
dangerous when cornered
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,855
Karma: 22891237
Join Date: Dec 2011
Location: USA
Device: Kobo H2O, Kindle Paperwhite
|
Embedding fonts - strange issue
I embedded fonts into a couple books on my PW2 in calibre and it came out great. However, I'm now trying to play around and use a different font (charis) on a third book and for some odd reason when I embed it, and then choose publisher font, the font isn't charis, but instead it's helvetica.
![]() Any ideas what could be causing this? I can't seem to get the proper font to embed for this one book. |
![]() |
![]() |
![]() |
#2 | |
Nameless Being
|
Quote:
Code:
@font-face { font-family: "CaeciliaHeavy"; font-weight: normal; font-style: normal; src: url("../Fonts/Caecilia-Bold.otf"); } @font-face { font-family: "CaeciliaHeavy"; font-weight: normal; font-style: italic; src: url("../Fonts/Caecilia-BoldItalic.otf"); } @font-face { font-family: "CaeciliaHeavy"; font-weight: bold; font-style: normal; src: url("../Fonts/Caecilia-Heavy.otf"); } @font-face { font-family: "CaeciliaHeavy"; font-weight: bold; font-style: italic; src: url("../Fonts/Caecilia-HeavyItalic.otf"); } body { font-family: "CaeciliaHeavy"; } |
|
![]() |
Advert | |
|
![]() |
#3 |
dangerous when cornered
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,855
Karma: 22891237
Join Date: Dec 2011
Location: USA
Device: Kobo H2O, Kindle Paperwhite
|
Thank you, Jack! Maybe I'll give Sigil a go if I can't get this font working. I'm so confused why it isn't embedding properly with calibre and I hate to let it beat me. Grrr.. unruly font.
|
![]() |
![]() |
![]() |
#4 | |
Nameless Being
|
Quote:
![]() |
|
![]() |
![]() |
#5 |
dangerous when cornered
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,855
Karma: 22891237
Join Date: Dec 2011
Location: USA
Device: Kobo H2O, Kindle Paperwhite
|
Ha.
![]() I'm a little sad I can't use my favorite fonts on the PW2, so I'm trying to fix that by embedding. Everything went perfectly with the other font. ![]() ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,740
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The most likely reason your embedded font isn't working is because there are font-family statements in the CSS overriding your embedded font. Try Tweak ebook (from within Calibre) and see if there are any font-family statements that should not be there in the CSS.
|
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
|
In addition to JSWolf's reply: first run Modify Epub (Calibre Plugin) with the Remove Embedded Fonts ticked to make sure the file has no embedded fonts to begin with.
If your file is an AZW3, you'll need to convert to epub first, or extract it to EPUB using KindleUnpack. |
![]() |
![]() |
![]() |
#8 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,740
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#9 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,731
Karma: 3472866
Join Date: Apr 2008
Device: Sony PRS-650 & 350; Kindle Voyage; Kobo Aura HD, Aura One, and Forma
|
I had that problem (publisher font showing as helvetica) when I first started trying to embed my own fonts with Calibre. Turns out I under the "Filter Style Information" tab on the "Look and Feel" section of the conversion screen I also had the box checked to "completely remove fonts". When I unchecked that and tried the conversion again, it worked perfectly. (Thanks to booklover6 for pointing me in the right direction on this!)
|
![]() |
![]() |
![]() |
#10 | ||
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Quote:
Hitch |
||
![]() |
![]() |
![]() |
#11 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
|
LOL. "Do not use the Charis font."
It's used in almost all books that have embedded fonts straight from the publisher. Don't ask me why that is, but I've seen Charis more than any other font in ebooks I've bought. Quote:
Last edited by Katsunami; 10-16-2013 at 06:45 PM. |
|
![]() |
![]() |
![]() |
#12 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
I think the fact that it can be legally distributed for free probably explains why.
|
![]() |
![]() |
![]() |
#13 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
|
Yes, but it doesn't explain why publishers are so keen to even include such a font, knowing that each e-reader has at least 6 of them to choose from. Some (older) e-readers actually lock font choices and sizes, if they are set in the CSS. That's not funny.
|
![]() |
![]() |
![]() |
#14 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
For that matter, some fonts that are quite nice and commonly used in print suck on ebooks; Garamond, as one example. {shrug}. Katsunami: Replacing a font is certainly not hard by any stretch, as you know. Just pull one out, and put the other in, do a fast regex on the CSS page. Subsetting it is a valuable tool, but making a plug-in or feature just to "swap" fonts seems like overkill to me, not to mention a feature ripe for abuse by well-meaning, but under-knowledged amateurs (vis-a-vis embedding and licenses). If you want something that will do that, try Atlantis; it embeds fonts directly from your hard-drive, which gives me the licensing willies. Hitch |
|
![]() |
![]() |
![]() |
#15 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
|
Makes sense indeed...
Quote:
Calibre can also strip fonts during conversion. If you use them both at the same time, Calibre seems to first embed the font you selected (along with any other in the book), then strip all of them out. If that functionality would be reversed, Calibre would automatically gain the option to swap fonts on conversion. If someone wants to embed a font into an ebook for which they don't have a license, then they're fully able to do so now, using Calibre or other tools. Even so: I have Minion Pro on my computer because I have an Adobe product installed. Probably, the license prohibits me from embedding it into e-books. If I still do just that, and just read the books myself, nobody is ever going to know, so that point is moot as well as far as I'm concerned. (Apart from the fact that Minion Pro looks dreadful on e-ink; almost any font does, except if it's specifically tweaked.) |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Embedding font produces strange spacing | northstar7 | Sigil | 6 | 09-17-2013 01:52 PM |
Fonts embedding | 1drey | Writer2ePub | 3 | 06-17-2011 11:15 PM |
Embedding fonts | JaneFancher | Calibre | 14 | 04-10-2010 09:28 PM |
Embedding fonts | AprilHare | ePub | 6 | 01-02-2010 11:42 AM |
Embedding fonts | jash | Calibre | 2 | 09-09-2008 05:05 PM |