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

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 10-09-2012, 06:55 AM   #1
djstormer
Member
djstormer began at the beginning.
 
djstormer's Avatar
 
Posts: 18
Karma: 10
Join Date: Dec 2011
Location: Tokyo, Japan
Device: Kindle 3, iPad
"Typeface" problems in KindleGen mobi

I just created a mobi file from an EPUB using KindleGen - an EPUB that passed the idpf.org validator and whose <guide>, <manifest> etc I had appropriately tweaked (mainly cover- and TOC-related) for the purpose of creating a mobi.

It seems to have come out fine except for the Typeface selection function.
The text is all <p></p> and <p> is defined in my CSS as {font-style:normal}.
If I select "condensed" the typeface shows as condensed serif. However, if I select "regular" or "sans serif," the result is the same: sans-serif. In other words, "regular" is not working.

Any feedback appreciated.

Last edited by djstormer; 10-09-2012 at 06:58 AM.
djstormer is offline   Reply With Quote
Old 10-09-2012, 08:10 AM   #2
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 2,127
Karma: 4938208
Join Date: Dec 2010
Device: Kindle PW2
AFAIK, {font-style:normal} has no effect on the font family. If you want to specify serif or sans-serif fonts for all paragraphs, you'll have to use p {font-family: serif;} or p {font-family: sans-serif;} and generate a KF8 .mobi file.
However, if you hard-code the font family, Kindle users will no longer be able to change the display font from regular to condensed or sans-serif.
Doitsu is offline   Reply With Quote
Old 10-09-2012, 12:13 PM   #3
djstormer
Member
djstormer began at the beginning.
 
djstormer's Avatar
 
Posts: 18
Karma: 10
Join Date: Dec 2011
Location: Tokyo, Japan
Device: Kindle 3, iPad
Quote:
Originally Posted by Doitsu View Post
AFAIK, {font-style:normal} has no effect on the font family.
Doitsu, thanks for your reply. I am using {font-style:normal} for all my <p></p>, but the "regular" option on my Kindle displays this particular book in sans-serif font.

All the other books on my Kindle display serif font if I select "regular." I'm wondering what I have done wrong in my CSS or tagging.
djstormer 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
"ELF binary type "0" not known" Error. When run Kindlegen chovan Amazon Kindle 4 02-09-2012 12:49 PM
epub "padding left" to mobi "block quote" conversion issue 1611mac Conversion 3 01-11-2012 03:10 PM
Using Calibre to make doc -> mobi files. Problems with "start reading" section. Stodder Calibre 0 07-03-2011 11:32 AM
Is "dc:rights" a valid entry in an OPF file for Kindlegen? Stodder Kindle Formats 5 06-06-2011 07:52 PM


All times are GMT -4. The time now is 08:49 AM.


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