10-09-2012, 05:55 AM | #1 |
Member
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 05:58 AM. |
10-09-2012, 07:10 AM | #2 |
Grand Sorcerer
Posts: 5,583
Karma: 22735033
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. |
Advert | |
|
10-09-2012, 11:13 AM | #3 |
Member
Posts: 18
Karma: 10
Join Date: Dec 2011
Location: Tokyo, Japan
Device: Kindle 3, iPad
|
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. |
Thread Tools | Search this Thread |
|
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 11:49 AM |
epub "padding left" to mobi "block quote" conversion issue | 1611mac | Conversion | 3 | 01-11-2012 02:10 PM |
Using Calibre to make doc -> mobi files. Problems with "start reading" section. | Stodder | Calibre | 0 | 07-03-2011 10:32 AM |
Is "dc:rights" a valid entry in an OPF file for Kindlegen? | Stodder | Kindle Formats | 5 | 06-06-2011 06:52 PM |