Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 07-21-2011, 01:16 PM   #1
SamL
I mess around with Epubs
SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.
 
Posts: 82
Karma: 1566
Join Date: Mar 2011
Location: Cambridge, MA
Device: mac, ipad, nook, kindle
Serif, and sans-serif fonts

So I don't embed fonts in my epubs, because I feel like most readers ignore them anyways.

Instead I try and keep it simple, and get it down to either serif or sans-serif, with maybe one preferred font.

Something like this:
Quote:
font-family: "Times New Roman", serif;

font-family: "Arial", sans-serif;
But what I've noticed is that not even these really come through. On devices like the iPad or Nook, it just completely ignores all my preferences on which font to use.

I have chapters where everything is in serif, except captions and the subtitle, but on my devices it just spits them all out as serif. On the Nook I can get it to work if I turn on the publisher's settings, but shouldn't these readers be using the fonts I recommend anyways?
SamL is offline   Reply With Quote
Old 07-21-2011, 01:54 PM   #2
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
This is exactly why ereaders shouldn't monkey around trying to alter the display parameters so that the users can choose to read everything in Comic Sans with a 5em line height.

You can apparently force the iPad to use fonts properly using the method described here - i.e. you need to add a nonstandard file containing non-standard code in order to get iBooks to respect part of the standard.
charleski is offline   Reply With Quote
Advert
Old 07-21-2011, 05:05 PM   #3
ATimson
Evangelist
ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.
 
ATimson's Avatar
 
Posts: 456
Karma: 1044878
Join Date: Apr 2009
Device: Kindle Paperwhite 4
Quote:
Originally Posted by SamL View Post
On the Nook I can get it to work if I turn on the publisher's settings, but shouldn't these readers be using the fonts I recommend anyways?
That's the point of the Use Publisher Settings checkbox - checking that follows the CSS in the book, otherwise it lets the user's settings win.
ATimson is offline   Reply With Quote
Old 07-21-2011, 05:50 PM   #4
SamL
I mess around with Epubs
SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.
 
Posts: 82
Karma: 1566
Join Date: Mar 2011
Location: Cambridge, MA
Device: mac, ipad, nook, kindle
Quote:
Originally Posted by ATimson View Post
That's the point of the Use Publisher Settings checkbox - checking that follows the CSS in the book, otherwise it lets the user's settings win.
I get that, but the nook is the only reader I've seen that has that setting at all. And it will still follow the CSS you have in your book in terms of spacing, bold, font-size etc, except for serif/sans-serif aspect.
SamL is offline   Reply With Quote
Old 07-21-2011, 05:53 PM   #5
ATimson
Evangelist
ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.
 
ATimson's Avatar
 
Posts: 456
Karma: 1044878
Join Date: Apr 2009
Device: Kindle Paperwhite 4
Quote:
Originally Posted by SamL View Post
I get that, but the nook is the only reader I've seen that has that setting at all. And it will still follow the CSS you have in your book in terms of spacing, bold, font-size etc, except for serif/sans-serif aspect.
And margins. Also - if you use a fixed point size, I suspect (though I haven't tried this) that it'll ignore your fonts, and that it only obeys relative sizes without them.

Anyways, I don't know about other hardware readers, but I've seen it in other software ones on iPhone - both RMSDK (Bluefire) and not (Kobo, Stanza). Personally, I think that letting the reader's preferences win is a good thing; book creators don't always know better than me.
ATimson is offline   Reply With Quote
Advert
Old 07-21-2011, 06:00 PM   #6
Adjust
Addict
Adjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel is
 
Adjust's Avatar
 
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
Yeah it's a real pain in the ... to get sans-serif fonts working in iBooks...

You have to wrap the text in <samp>text goes here</samp> code...Luckily though you can do a find and replace for it...

Find
Code:
<p class="example">(.*?)</p>
replace
Code:
<p class="example"><samp>\1</samp></p>
Adjust is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sans-serif fonts and iBooks Adjust ePub 17 01-26-2013 07:31 PM
Which typeface should use for ebook, Serif or Sans-serif droople Workshop 8 06-13-2010 07:20 AM
Serif and Sans-Serif fonts in Libprs500 benong Calibre 1 02-06-2008 04:43 AM
Switching fonts from Sans to Serif TOucan iRex 4 07-16-2007 11:27 AM
Do you prefer the Reader's serif or its sans serif font? (poll) Alexander Turcic Sony Reader 9 11-25-2006 12:15 PM


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


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