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

Go Back   MobileRead Forums > E-Book Readers > Sony Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 08-17-2012, 06:55 PM   #1
democrite
Connoisseur
democrite can name that song in three notesdemocrite can name that song in three notesdemocrite can name that song in three notesdemocrite can name that song in three notesdemocrite can name that song in three notesdemocrite can name that song in three notesdemocrite can name that song in three notesdemocrite can name that song in three notesdemocrite can name that song in three notesdemocrite can name that song in three notesdemocrite can name that song in three notes
 
Posts: 71
Karma: 24566
Join Date: Sep 2011
Device: Sony PRS-T1, iPad, iPhone
ePub not using specified Amasis font

Hi,

I normally change the CSS files of all my ePubs so they use Amasis. For one particular one (with a calibre style sheet), it doesn't. I really can't figure out why. Maybe someone has an idea?

Below is the only relevant part of the CSS (I think) that works everywhere else. I've gone over it a zillion times and really am clueless.

edit: and font switching seems to not work either.

Code:
@font-face {font-family: sans-serif; font-weight: normal; font-style: normal; src: url(res:///ebook/fonts/AmasisMTW1G.otf)}
@font-face {font-family: sans-serif; font-weight: normal; font-style: italic; src: url(res:///ebook/fonts/AmasisMTW1G-Italic.otf);}
@font-face {font-family: sans-serif; font-weight: bold; font-style: normal; src: url(res:///ebook/fonts/AmasisMTW1G-Bold.otf);}
@font-face {font-family: sans-serif; font-weight: bold; font-style: italic; src: url(res:///ebook/fonts/AmasisMTW1G-BoldItalic.otf);}     

@font-face {font-family: serif; font-weight: normal; font-style: normal; src: url(res:///ebook/fonts/AmasisMTW1G.otf)}
@font-face {font-family: serif; font-weight: normal; font-style: italic; src: url(res:///ebook/fonts/AmasisMTW1G-Italic.otf);}
@font-face {font-family: serif; font-weight: bold; font-style: normal; src: url(res:///ebook/fonts/AmasisMTW1G-Bold.otf);}
@font-face {font-family: serif; font-weight: bold; font-style: italic; src: url(res:///ebook/fonts/AmasisMTW1G-BoldItalic.otf);}

…
.calibre12 {
    font-family: "serif";
    text-indent:1.1em
    }
.calibre2 {
    font-family: "serif";
    }
Code:
<p class="calibre12"><span class="calibre2">«*Eh bien, voilà,
reprit-il, je viens pour la chambre que vous avez à louer.*»</span></p>

Last edited by democrite; 08-17-2012 at 07:11 PM.
democrite is offline   Reply With Quote
Old 08-17-2012, 07:22 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,614
Karma: 18390312
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Could maybe be the quotes around serif that aren't needed.
JSWolf is offline   Reply With Quote
 
Enthusiast
Old 08-17-2012, 07:27 PM   #3
democrite
Connoisseur
democrite can name that song in three notesdemocrite can name that song in three notesdemocrite can name that song in three notesdemocrite can name that song in three notesdemocrite can name that song in three notesdemocrite can name that song in three notesdemocrite can name that song in three notesdemocrite can name that song in three notesdemocrite can name that song in three notesdemocrite can name that song in three notesdemocrite can name that song in three notes
 
Posts: 71
Karma: 24566
Join Date: Sep 2011
Device: Sony PRS-T1, iPad, iPhone
That was exactly it. thanks!
democrite 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
Determine font and font size on incoming epub? peaceridge Calibre 4 01-30-2012 03:35 PM
how do I UN-font an epub? affa ePub 4 04-20-2011 12:50 PM
ePub Font Subsetting Cygfrydd ePub 2 08-17-2010 08:53 AM
PRS-600 Default EPUB font? jamadams Sony Reader 5 04-06-2010 11:07 PM
ePub with external font DairyKnight Sony Reader 34 02-22-2010 02:31 AM


All times are GMT -4. The time now is 10:25 PM.


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