![]() |
#1 |
Member
![]() Posts: 21
Karma: 10
Join Date: Mar 2008
Location: Yucca Valley, California
Device: Kindle Keyboard (K3)
|
Embedded font question/problem
I have used a font in a stylesheet which properly displays in the file preview, but when I attempt to embed that font, the editor reports it cannot find it.
I'm probably doing something improperly, but I cannot see what it is... Suggestions? Peter |
![]() |
![]() |
![]() |
#2 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 243
Karma: 44444
Join Date: Mar 2014
Device: Kindle PW2 special offers removed by Amazon for FREE
|
Maybe the preview displays a similar font. because you dont have this font.
Or the book doesn't support the format that you have. but it works in calibre. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Have you added the font itself?
|
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 21
Karma: 10
Join Date: Mar 2008
Location: Yucca Valley, California
Device: Kindle Keyboard (K3)
|
Thanks for your response. I must not have been very clear. Yes, I have the font. I am building the book myself, so since I chose to use that font, I added it to the stylesheet. And in the calibre preview screen it displays properly. I haven't bothered to look at the book via a book reader yet.
|
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 21
Karma: 10
Join Date: Mar 2008
Location: Yucca Valley, California
Device: Kindle Keyboard (K3)
|
I have, although the font file name and the font family name are not the same. Calibre seems unable to find it using the font file name, the font family name, the font full name or the Postscript name. Confusing. Haven't had this problem before, so I suspect it's something to do with the font file or my system (Vista). The font is installed and available in each of the other applications I've tried (Word, for one, along with several font manipulation programs.
Thanks |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,048
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
You need an @fonts{ to map the font file to the Font Family it belongs to <-this is the one that should match the INTERNAL font-file naming for least problems across devices font-weight it should be used with (Normal, Bold) font-style it should cover normal, italic A fully populated (if needed) Family set would have 4 @fonts: Normal, Bold, Italic, Bold-Italic . You don't need to include (files or @font ) for non-used combinations |
|
![]() |
![]() |
![]() |
#7 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Or include, then clean css and subset the fonts when done editing.
|
![]() |
![]() |
![]() |
#8 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
BUT some files which are readily found on Windows are NOT public domain, they remain proprietary and can not be used in an ebook without a contract with the font foundry. Please be sure of the status before you finish completing this battle with it. Some fonts can not be added.
|
![]() |
![]() |
![]() |
#9 |
Member
![]() Posts: 21
Karma: 10
Join Date: Mar 2008
Location: Yucca Valley, California
Device: Kindle Keyboard (K3)
|
|
![]() |
![]() |
![]() |
#10 |
Member
![]() Posts: 21
Karma: 10
Join Date: Mar 2008
Location: Yucca Valley, California
Device: Kindle Keyboard (K3)
|
|
![]() |
![]() |
![]() |
#11 | |
Member
![]() Posts: 21
Karma: 10
Join Date: Mar 2008
Location: Yucca Valley, California
Device: Kindle Keyboard (K3)
|
Quote:
Thanks, Peter |
|
![]() |
![]() |
![]() |
#12 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Looks like you use a Kindle. You might search for Hitch and her company's adventures in trying to embed fonts. Seems like some times won't embed at all or work only on some models, etc.
|
![]() |
![]() |
![]() |
#13 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
Quote:
..\..\Fonts\Name-Bold.ttf might have to be changed to ..\fonts\Name-Bold.ttf |
|
![]() |
![]() |
![]() |
#14 |
Member
![]() Posts: 21
Karma: 10
Join Date: Mar 2008
Location: Yucca Valley, California
Device: Kindle Keyboard (K3)
|
Thanks for pointing that out... I, too, forget to check sometimes. In this case I hadn't noticed, but I had used the font "bold" but the font is only available as "normal".
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Embedding font in books that already have embedded font | Barty | Calibre | 2 | 10-16-2013 11:38 PM |
Mini advanced font settings ignored in one book - embedded font? | lordofazeroth | Kobo Reader | 4 | 09-20-2013 02:15 PM |
Embedded font problem | Moonraker | Sigil | 13 | 05-21-2013 05:33 PM |
embedded font - now line with embedded font not re-flowing | Kaylee Skylyn | ePub | 23 | 08-09-2012 07:30 PM |
problem with embedded font | ericshliao | EPUBReader | 2 | 12-11-2009 10:04 AM |