Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 12-13-2015, 03:15 PM   #1
dicknskip
Zealot
dicknskip began at the beginning.
 
Posts: 134
Karma: 10
Join Date: Nov 2009
Location: Okotoks, AB, Canada
Device: iPad V-3
Embedded font files

@font-face {
font-family: "X";
font-weight: normal;
font-style: normal;
src: url(../Fonts/X.ttf);
}

...is in my css file. I also have class entries for the use of the font. I have tried adding the font files to an ePub by "file -> new file" and by the "embed fonts" option. I've checked the spelling of the file names. When I do a check run I get:

'../Fonts/X.ttf' does not exist. [OEBPS/Styles/stylesheet.css]

...for every font file. The font files are in the "File Browser" under the "Fonts" sub-heading. I have tried "../Fonts..." and "../fonts..." I still get the error message. The fonts do work in the final epub. What am I missing or do I just need to ignore this?
dicknskip is offline   Reply With Quote
Old 12-13-2015, 04:46 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Read the message carefully.
does it say something about "Internal name" ?

the font file contains its Font name (inside)
Calibre is just warning you that some nit-picking validation or devices barf if every tiny bit does not match.
If it works on your device, you can ignore (if the book is not bound for other distribution. If it is: Jump thru the naming hoops as needed)
theducks is offline   Reply With Quote
Advert
Old 12-13-2015, 04:59 PM   #3
dicknskip
Zealot
dicknskip began at the beginning.
 
Posts: 134
Karma: 10
Join Date: Nov 2009
Location: Okotoks, AB, Canada
Device: iPad V-3
Thanks - I was suspicious of that issue. I did try to use the "family name" that "Font Book" displays under the font info. So I'll just ignore it.
dicknskip is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Preventing Sigil embedded font files from user access bobcdy Sigil 34 02-22-2015 09:13 AM
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 - 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


All times are GMT -4. The time now is 06:13 PM.


MobileRead.com is a privately owned, operated and funded community.