11-11-2012, 12:03 AM | #1 |
Enthusiast
Posts: 38
Karma: 473242
Join Date: Oct 2012
Device: K3/PW/KV
|
PW embedded fonts?
I was under the understanding that a feature of paperwhite was that it recognizes embedded fonts from ebooks. I decided to gave it a test, and even though the resulting font was shown on sigil and calibre, however when it was converted and transferred to paperwhite, it doesn't show the new font. My question is, did do something wrong or paperwhite simply does not have this feature.
note: the font I used was from dafont.com. note 2: even though the font was shown, when I validate the file in sigil, it had this error "the resource is present in the OPF <manifest>, but is unreachable (it's unused)", the line is "N/A" and the file is "OEBPS/Fonts/plainblack.otf". |
11-11-2012, 12:56 AM | #2 | ||
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Quote:
|
||
11-11-2012, 01:34 AM | #3 | |
I am what I am
Posts: 6,625
Karma: 62235665
Join Date: Sep 2011
Device: iPad3, Voyage
|
Quote:
Last edited by JoHunt; 11-11-2012 at 02:32 PM. |
|
11-11-2012, 11:36 AM | #4 |
Enthusiast
Posts: 38
Karma: 473242
Join Date: Oct 2012
Device: K3/PW/KV
|
Actually, the font is not installed on my computer, I only downloaded to test on this epub.
I followed this sigil start guide to a T I believe, I'll post some screenshots see if I did anything wrong. This is the css style code: p.s I have also tried removing the ".../Fonts" with same result. this is how it should look: this is the font: and this is the error from validate: |
11-11-2012, 12:31 PM | #5 |
Connoisseur
Posts: 56
Karma: 496700
Join Date: Apr 2012
Location: Serbia, USA
Device: Kindle Voyage
|
Why don't you just use Calibre?
When converting to AZW3, go to Look & Feel tab and under Embed font family chose a font, installed on computer or add your own, it doesn't matter. |
11-11-2012, 12:43 PM | #6 |
Junior Member
Posts: 6
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kindle Paperwhite
|
Try surrounding the Path of the Font with quotation marks.
Code:
src: url("../Fonts/plainblack.otf") |
11-11-2012, 12:57 PM | #7 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
@Padde enclosing it in quotation marks doesn't make a difference. This looks like a Sigl FlightCrew bug, because ePubcheck online doesn't report any issues.
Quote:
Since the error message was no longer displayed, when I moved the CSS code from the <style> section to a separate .css file and linked it to the .html file this is most likely a Sigil/FlightCrew bug. Also when I compiled my test file with KindleGen the embedded font was displayed in KP and it also displayed fine on my K3. If the embedded font didn't show up on your PW, it might be because: - you used the Kindle Cloud, which doesn't support KF8 yet, instead of USB to transfer the file - you converted the .ePub file with Calibre to a .mobi file instead of an .azw3 file - the Publisher Font option is disabled on your PW Last edited by Doitsu; 11-12-2012 at 02:42 AM. |
|
11-11-2012, 07:00 PM | #8 | |
Enthusiast
Posts: 38
Karma: 473242
Join Date: Oct 2012
Device: K3/PW/KV
|
Quote:
|
|
11-12-2012, 03:58 AM | #9 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
|
|
11-13-2012, 01:53 PM | #10 |
Nameless Being
|
I had never tried to make a ePub or KF8 with an embedded font, so out of curiosity I made one yesterday. I used an existing ePub book and added the font via Sigil to create the ePub, then used Kindle Previewer to create one KF8 book (mobi extension) and calibre to create a second KF8 book (AZW3 extension) from the ePub.
The epub works very well in the Sony Reader on my PC. The epub also works very well in Bluefire on my iPad3. It does not show the embedded font in iBooks though. I used iTunes 10.x to load the book to both Bluefire and iBooks. I don't have an ePub reader on my Fire HD so I haven't checked it there yet. The KF8 book with mobi extension created with Kindle Previewer works well on my Kindle Touch, though the embedded font renders poorly. This book was side loaded via USB cable connection. I also side loaded to my Kindle Fire HD via USB cable connection both the KF8 book with mobi extension and the KF8 book with AZW3 extension. Neither of these show the embedded font on the Fire HD. I do NOT get the "Use Publisher Font" option in either book version. Has anyone got embedded fonts in a side loaded book to work on the Fire HD? |
11-13-2012, 02:30 PM | #11 | ||
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Quote:
|
||
11-13-2012, 03:15 PM | #12 |
Nameless Being
|
I bought the book through Amazon, liberated it, and added the font. Since it is a purchased book I cannot and would not post it.
It is no big deal, I was just curious if embedded fonts worked within side loaded books on the Kindle Fire HD. The books obviously are created correctly as they work on various devices. The fact that it works correctly on the Kindle Touch tells me the KF8 generated by Kindle Previewer converted correctly. The font is PMN Caecilia 85 Heavy. EDIT: @Doitsu I added the com.apple.ibooks.display-options.xml file to the ePub and it now works in iBooks. Unfortunately all the font sizes for this book are way too big. I'll have to research that, but the CSS file that came with the book was way over formatted so no telling what all they put in it! Last edited by jswinden; 11-13-2012 at 04:24 PM. |
11-15-2012, 07:17 PM | #13 |
Nameless Being
|
Just FYI to anyone interested, embedded fonts in side loaded KF8 books will work on the Kindle Fire HD but there are exceptions.
If the embedded font is referenced only within the BODY tag, the font will display on most eInk Kindles and K4PC. This method also works for ePubs. However, it will NOT display on the Kindle Fire HD. I'm not sure which tags will work and which won't, but I did get it to work by referencing the embedded font(s) in a Class and assigning that Class to a P tag. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
embedded fonts | Wally S | Workshop | 15 | 01-21-2012 03:57 PM |
Embedded fonts | dicknskip | Sigil | 27 | 12-01-2011 09:24 AM |
Embedded fonts? | Greenmantle | Kobo Reader | 66 | 07-27-2011 08:20 PM |
Embedded fonts, Calibre, and choice of fonts | AlexBell | ePub | 8 | 05-30-2010 06:00 AM |
iPad Embedded Fonts | JSWolf | Apple Devices | 24 | 04-26-2010 02:41 PM |