Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 05-12-2011, 08:45 PM   #1
MikeFromMesa
Enthusiast
MikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheese
 
Posts: 26
Karma: 1110
Join Date: Apr 2011
Device: Nook Color
Why can't I add fonts to my book?

I have been trying to convert an fb2 format book, with its Cyrillic fonts, into an ePub version that the Nook Color will read and understand. To do this I first converted the book from fb2 format to ePub format using Calibre and then tried to embed the fonts in the book by using Sigil.

But when I opened the book and then added the fonts to the Font folder (right-click, add existing, browse, select) a subsequent Validation gave me the following error:

This resource is present in the OPF <manifest>, but it's not reachable (it's unused).

I cannot get past this because without Sigil understanding fonts I cannot embed them in the file. I have tried to find out something about this in the help file, but come up empty. Can anyone tell me what this error means and how to get past it? Please?

Thanks.
MikeFromMesa is offline   Reply With Quote
Old 05-13-2011, 12:06 AM   #2
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
read the thread about embedding fonts!

specifically, read & understand:
put the @font-face declaration statement into the CSS
cybmole is offline   Reply With Quote
Advert
Old 05-13-2011, 02:28 AM   #3
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Adding the font to an ePub is not enough. You have to specify when and how it is used. Otherwise it is just taking up space. Hence the error message 'used, but not referenced'.

There are various threads about this around the forum. Please keep in mind, that when you make the correct reference in the stylesheet, you must also tell the XHTML files to use that stylesheet...
Toxaris is offline   Reply With Quote
Old 05-13-2011, 08:05 AM   #4
MikeFromMesa
Enthusiast
MikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheese
 
Posts: 26
Karma: 1110
Join Date: Apr 2011
Device: Nook Color
I tried to be brief in my post and it appears to have only generated confusion.

Quote:
specifically, read & understand:
put the @font-face declaration statement into the CSS
I actually did this. When I added the fonts to Sigil and got the error message the very first thing I did was add the @font-face statements into the style sheet. First into its own style sheet and, when that did not make any difference, into the default style sheet. Adding them made no difference and I assumed that it was because Sigil was ignoring the fonts as it said it was.

I would be happy to add the resulting style sheet code to this thread if you think it would make any difference, but no matter what changes I made I continued to get the "cannot reach" error.

Quote:
read the thread about embedding fonts!
I have been trying to follow threads from many forums about embedding fonts. I do not know if I have seen the one you are referring to. Do you have a specific link I can look at?

Quote:
Adding the font to an ePub is not enough. You have to specify when and how it is used. Otherwise it is just taking up space. Hence the error message 'used, but not referenced'.
Actually the error message says that it cannot reach the font and it is NOT being used.
MikeFromMesa is offline   Reply With Quote
Old 05-13-2011, 08:20 AM   #5
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: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Beware of Case sensitivity errors
src:url(../fonts/vivaldii.TTF) format(opentype);
is not the same path as
.src:url(../Fonts/Vivaldii.TTF) format(opentype);
theducks is offline   Reply With Quote
Advert
Old 05-13-2011, 08:43 AM   #6
MikeFromMesa
Enthusiast
MikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheese
 
Posts: 26
Karma: 1110
Join Date: Apr 2011
Device: Nook Color
Yes, I suspected as much and made sure that the paths were the correct case. But thank you for the post anyway.
MikeFromMesa is offline   Reply With Quote
Old 05-13-2011, 09:12 AM   #7
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Quote:
Originally Posted by cybmole View Post
read the thread about embedding fonts!

specifically, read & understand:
put the @font-face declaration statement into the CSS
Can you provide a link?
Thanks
crutledge is offline   Reply With Quote
Old 05-13-2011, 09:22 AM   #8
MikeFromMesa
Enthusiast
MikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheeseMikeFromMesa can extract oil from cheese
 
Posts: 26
Karma: 1110
Join Date: Apr 2011
Device: Nook Color
Thanks for the post. Case sensitivity is not what turned out to be the issue. Spacing is.

The following did not work: src: url (../Fonts/LiberationSerif-Italic.ttf);

The following did work: src: url(../Fonts/LiberationSerif-Italic.ttf);

The single space after the url entry was what was causing all of the problems. When that was fixed the "cannot reach" error disappeared. Apparently the Sigil parsing is very strict. Go figure!
MikeFromMesa is offline   Reply With Quote
Old 05-13-2011, 09:24 AM   #9
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: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by MikeFromMesa View Post
Thanks for the post. Case sensitivity is not what turned out to be the issue. Spacing is.

The following did not work: src: url (../Fonts/LiberationSerif-Italic.ttf);

The following did work: src: url(../Fonts/LiberationSerif-Italic.ttf);

The single space after the url entry was what was causing all of the problems. When that was fixed the "cannot reach" error disappeared. Apparently the Sigil parsing is very strict. Go figure!
theducks is offline   Reply With Quote
Old 05-13-2011, 01:09 PM   #10
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Quote:
Originally Posted by cybmole View Post
read the thread about embedding fonts!

specifically, read & understand:
put the @font-face declaration statement into the CSS
Would you please provide a reference?
Thank you
crutledge is offline   Reply With Quote
Old 05-13-2011, 01:31 PM   #11
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
Quote:
Originally Posted by crutledge View Post
Would you please provide a reference?
Thank you
when I last posted( about embedding fonts) I quoted from a thread with embedding fonts in the subject field about 3 threads down from this one, not exactly hard to find!

it is still on page 1 of current threads!
https://www.mobileread.com/forums/showthread.php?t=77430

Last edited by cybmole; 05-13-2011 at 01:33 PM.
cybmole is offline   Reply With Quote
Old 05-13-2011, 02:05 PM   #12
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by MikeFromMesa View Post
Thanks for the post. Case sensitivity is not what turned out to be the issue. Spacing is.

The following did not work: src: url (../Fonts/LiberationSerif-Italic.ttf);

The following did work: src: url(../Fonts/LiberationSerif-Italic.ttf);

The single space after the url entry was what was causing all of the problems. When that was fixed the "cannot reach" error disappeared. Apparently the Sigil parsing is very strict. Go figure!
I am glad that Flightcrew parsing is that strict. With a space wouldn't work on readers also.
Toxaris is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
fontencrypt.py - Add Adobe encryption to fonts in ePub pdurrant ePub 14 10-15-2013 09:16 AM
add book to desktop? zeroh Nook Color & Nook Tablet 2 12-05-2010 09:40 PM
PRS-350: Add Cyrillic fonts, lose warranty? Prosto_IA Sony Reader 15 11-25-2010 08:26 AM
how to SAFELY add fonts ? etherspin Bookeen 3 03-16-2009 11:01 AM
not able to add fonts julia Bookeen 9 09-27-2008 09:42 AM


All times are GMT -4. The time now is 07:48 PM.


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