07-19-2013, 09:20 PM | #31 | |
SpecFic Writer
Posts: 31
Karma: 20000
Join Date: Jan 2013
Location: Vista, CA
Device: Kindle Voyage, Kindle Fire, Nook, HTC One M8
|
Quote:
|
|
07-20-2013, 05:47 AM | #32 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Simply clarifying: you say that "inside are the fonts," so you mean, when you unpack the post Step-6 mobi, the preview mobi, the fonts are inside the kindlegensrc.zip file, right? But that they will not display, no matter what? Correct? Hitch |
|
07-20-2013, 06:40 AM | #33 |
SpecFic Writer
Posts: 31
Karma: 20000
Join Date: Jan 2013
Location: Vista, CA
Device: Kindle Voyage, Kindle Fire, Nook, HTC One M8
|
A Step 6 mobi has two directories and one zip file in the root. The two directories are (afaik) what is ready by the reader. The mobi8 directory is what the kf8 viewers look at. Inside that directory, there is a fonts folder. That folder is empty.
But in answer to your question, no, the fonts are not inside of the kindlegen source zip either. I hadn't looked there, but in the step 6 file, they're absent. So if I generate a file on my local machine and I look inside the mobi8 or the zip file, the font files exist where they should, in the fonts directory. This is no longer true after upload and reacquisition of the file via KDP. |
07-20-2013, 07:57 AM | #34 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Jul 2013
Device: Kindle Fire
|
Quote:
You must convert your book using KindleGen command line instead of previewer. In both case, it will embed font. But after uploading to KDP; - mobi file that convert with Kindle previewer will get font removed - mobi file that convert with KindleGen command line will not get font removed But sadly, what I found was font-family were strip off in CSS like this; p { margin:0; padding:0; border-width:0; } font-family was coded as per below; before uploading to KDP p { margin:0; padding:0; border-width:0; font-family: "yourfont"; } Last edited by mmdigitalconnect; 07-20-2013 at 08:33 AM. Reason: obfuscated to removed |
|
07-20-2013, 08:08 AM | #35 | ||
SpecFic Writer
Posts: 31
Karma: 20000
Join Date: Jan 2013
Location: Vista, CA
Device: Kindle Voyage, Kindle Fire, Nook, HTC One M8
|
Quote:
[EDIT] There is no difference. The results are identical to running the file through the Kindle Previewer. The file works fine locally, but the fonts are stripped after upload to KDP. Thanks for the suggestion anyway. Always good to cover all bases. [END EDIT] Quote:
Last edited by Mathew Reuther; 07-20-2013 at 08:20 AM. |
||
07-20-2013, 08:27 AM | #36 |
SpecFic Writer
Posts: 31
Karma: 20000
Join Date: Jan 2013
Location: Vista, CA
Device: Kindle Voyage, Kindle Fire, Nook, HTC One M8
|
And as a note, font obfuscation actually refers to encryption of a font. That is a step taken after the file is sent into publication mode. Sending obfuscated fonts through to KDP will always result in a fail for this reason.
Just thought I might mention that the word you chose has specific meaning where embedded fonts are concerned, and though I understood you meant "removed/suppressed" it could read as confusing for others. |
07-20-2013, 09:01 AM | #37 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Jul 2013
Device: Kindle Fire
|
Quote:
Can you try converting not from epub file directly but from opf with KindleGen command line? Converting from epub give you 3 files which are same as epub out put but from opf , you will get 5 folders and 1 file. (css, html, image, misc, xml ) + content.opf . |
|
07-20-2013, 02:16 PM | #38 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Font obfuscation is unrelated to this particular discussion. Hitch |
|
07-20-2013, 06:13 PM | #39 | |
SpecFic Writer
Posts: 31
Karma: 20000
Join Date: Jan 2013
Location: Vista, CA
Device: Kindle Voyage, Kindle Fire, Nook, HTC One M8
|
Quote:
But I did check the KGen command line to see if it changed anything in my case. It does not. Now, that's not to say that there could never be an issue (I have been around enough software development to know sometimes there's a bad commit and it causes issues in two similar products) but in this instance there does not seem to have been. As for the suggestion regarding the naked opf, that's outside my understanding of how things work. It's also not using KGen as specified. (KGen does .html and .epub by the manual.) As a result it's not an experiment I am capable of conducting, nor one I see as relevant to the problem at hand. |
|
07-20-2013, 08:19 PM | #40 | |
Grand Sorcerer
Posts: 27,550
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
'Course it's just as easy (if not easier) to use the ePub if that's what you're working with, but the process works equally well when feeding KGen an OPF file that points to the rest of the ebook's resources. |
|
07-20-2013, 11:53 PM | #41 |
creator of calibre
Posts: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Don't use hyphens in your font names. In fact use the same font name in your @font-face rule as is used in the font itself.
|
07-21-2013, 12:47 AM | #42 | |
SpecFic Writer
Posts: 31
Karma: 20000
Join Date: Jan 2013
Location: Vista, CA
Device: Kindle Voyage, Kindle Fire, Nook, HTC One M8
|
Quote:
(In fact, one of the actual fonts I want to use is a one word font. So that one has been tested extensively.) |
|
07-21-2013, 12:56 AM | #43 |
creator of calibre
Posts: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use the same font name in your @font-face rule as is used in the font itself
|
07-21-2013, 01:29 AM | #44 |
SpecFic Writer
Posts: 31
Karma: 20000
Join Date: Jan 2013
Location: Vista, CA
Device: Kindle Voyage, Kindle Fire, Nook, HTC One M8
|
|
07-21-2013, 04:05 AM | #45 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
It's not the font names nor the font-face calls nor spaces nor hyphens. I am tracking it down and I think I have it, but it's none of the above. Above and beyond Mathew's issue of the past 3 months or however long, Amazon's changes this past week have created other issues vis-a-vis fonts that started showing up at the end of the week (Friday-ish). We've been working on this since then, utterly coincidental to me seeing Mathew's post late Thursday and trying to assist him at that time. For other posters: it's not a CL KG build versus a GUI build versus dropping the OPF on KG or CL'ing the OPF via KG. All results are the same. And I have to admit, if making a book with KG somehow makes a different book than Previewer, I've never seen it, no matter how many mobis I've unpacked. A few more tests and we'll know, at least about the current Amazon font issue. I don't know if it will solve Mathew's problem, as his seems to stem back somewhat further than the current matter, which definitely came into existence this week while Amazon was "helping" its customers more. (I know I have a mini-rant somewhere from this past week on this very topic...the ever-changing landscape. {SIGH} Anyone here run into the new NookPress "helpfulness" of swapping out your perfectly good epub stylesheet for their OWN, and rebuilding your ePUBS??????). Hitch |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Font Embedding? | teh603 | Writer2ePub | 75 | 01-08-2013 07:57 PM |
Font embedding | sachin | Sigil | 36 | 03-30-2012 03:26 AM |
Font embedding | sachin | Sigil | 3 | 03-21-2012 09:19 AM |
Do I need a font license if all I'm doing is referring to the font (not embedding)? | Stodder | Workshop | 21 | 04-21-2011 04:19 AM |
Special chararcters on the iPad or why does Apple not support Font-embedding? | georg3200 | ePub | 13 | 10-06-2010 10:32 AM |