Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 01-29-2011, 06:39 PM   #16
Alda
Zealot
Alda began at the beginning.
 
Posts: 104
Karma: 22
Join Date: Jun 2010
Device: none
Just one more, teentsy-weentsy little thing ...

Quote:
Right, I think I know what's happened, those @font-face definition are trying to access the EMBEDED fonts which don't exist, what you need to do is either remove the whole of the following lines (so it will use the fonts already on system)

Quote:
@font-face {
font-family: "Baskerville";
font-style: normal;
font-weight: normal;
src:local(Baskerville);
}
@font-face {
font-family: "Rockwell";
font-style: normal;
font-weight: normal;
src:local(Rockwell);
}
OR to embed the fonts, right click on the Fonts folder in book browser window, and 'Add Existing Items...' , then
OK, I've managed to embed the Baskerville font, but not the other one, so I'm just going to use the default one.

However, the subsequent pieces of code also specify "Rockwell", like so:

Quote:
}
p.a-fyrirs-gn-kaflar {
font-family: "Rockwell";
line-height: 1.17em;
font-size: 2.00em;
margin-bottom: 0.00em;
margin-top: 0.00em;
text-indent: 0.00em;
margin-right: 0.00em;
margin-left: 0.00em;
text-align: center;
font-weight: normal;
font-style: normal;
color: rgb(0,0,0);
}
p.x0fyrirsagnir {
font-family: "Rockwell";
line-height: 1.00em;
font-size: 1.50em;
margin-bottom: 0.00em;
margin-top: 0.00em;
text-indent: 0.00em;
margin-right: 0.00em;
margin-left: 0.00em;
text-align: center;
font-weight: normal;
font-style: normal;
color: rgb(0,0,0);
}
Do I need to do anything to this code, remove the "Rockwell" or something?
Alda is offline   Reply With Quote
Old 01-29-2011, 08:35 PM   #17
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
Remove the following lines (if you haven't already)
Quote:
@font-face {
font-family: "Rockwell";
font-style: normal;
font-weight: normal;
src:local(Rockwell);
}
Then change any CSS lines
Quote:
font-family: "Rockwell";
so they then say
Quote:
font-family: "Rockwell", serif;
That should do it.

If the rockwell font is on your system/device it will use it, otherwise it will default to the default Serif type font.
Perkin is offline   Reply With Quote
Old 01-30-2011, 12:39 PM   #18
Alda
Zealot
Alda began at the beginning.
 
Posts: 104
Karma: 22
Join Date: Jun 2010
Device: none
Huzzah!! It worked!

Thanks again for your invaluable help - so much appreciated!
Alda is offline   Reply With Quote
Old 01-30-2011, 01:42 PM   #19
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
Quote:
Originally Posted by Alda View Post
Huzzah!! It worked!

Thanks again for your invaluable help - so much appreciated!
You're welcome. Glad I could help.
Perkin is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error during validation macdafydd ePub 19 12-01-2010 06:07 PM
Validation tools LGN Sigil 9 11-20-2010 01:40 AM
Epub Validation Error? LadyDae ePub 6 10-29-2010 07:20 PM
Validation error rrosenwald Calibre 10 10-01-2010 11:12 AM
Validation Errors luthar28 ePub 13 08-10-2010 12:24 PM


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


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