|
|
#1 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 473242
Join Date: Oct 2012
Device: K3/PW
|
PW embedded fonts?
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". |
|
|
|
|
|
#2 | ||
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,081
Karma: 2677223
Join Date: Dec 2010
Device: Kindle 3
|
Quote:
Quote:
|
||
|
|
|
|
Enthusiast
|
|
|
|
#3 | |
|
Connoisseur forever
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 628
Karma: 2805878
Join Date: Sep 2011
Device: iPad3, Sony 650, K3, KT, KPW
|
Quote:
__________________
My name is Jo Last edited by joehunt; 11-11-2012 at 02:32 PM. |
|
|
|
|
|
|
#4 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 473242
Join Date: Oct 2012
Device: K3/PW
|
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:
|
|
|
|
|
|
#5 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44
Karma: 496700
Join Date: Apr 2012
Location: Serbia, USA
Device: Kindle Paperwhite
|
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. |
|
|
|
|
|
#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")
|
|
|
|
|
|
#7 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,081
Karma: 2677223
Join Date: Dec 2010
Device: Kindle 3
|
@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. |
|
|
|
|
|
|
#8 | |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 473242
Join Date: Oct 2012
Device: K3/PW
|
Quote:
|
|
|
|
|
|
|
#9 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,081
Karma: 2677223
Join Date: Dec 2010
Device: Kindle 3
|
Quote:
|
|
|
|
|
|
|
#10 |
|
Amateur Radio
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,936
Karma: 2506296
Join Date: Sep 2006
Location: USA
Device: Kindle Touch, iPad 3, iPhone 5
|
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?
__________________
Jack Currently: Kindle Touch, iPhone 5, and iPad 3. |
|
|
|
|
|
#11 | ||
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,081
Karma: 2677223
Join Date: Dec 2010
Device: Kindle 3
|
Quote:
Quote:
|
||
|
|
|
|
|
#12 |
|
Amateur Radio
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,936
Karma: 2506296
Join Date: Sep 2006
Location: USA
Device: Kindle Touch, iPad 3, iPhone 5
|
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!
__________________
Jack Currently: Kindle Touch, iPhone 5, and iPad 3. Last edited by jswinden; 11-13-2012 at 04:24 PM. |
|
|
|
|
|
#13 |
|
Amateur Radio
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,936
Karma: 2506296
Join Date: Sep 2006
Location: USA
Device: Kindle Touch, iPad 3, iPhone 5
|
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.
__________________
Jack Currently: Kindle Touch, iPhone 5, and iPad 3. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
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 |