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

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 12-12-2012, 07:56 AM   #1
holdit
Connoisseur
holdit ought to be getting tired of karma fortunes by now.holdit ought to be getting tired of karma fortunes by now.holdit ought to be getting tired of karma fortunes by now.holdit ought to be getting tired of karma fortunes by now.holdit ought to be getting tired of karma fortunes by now.holdit ought to be getting tired of karma fortunes by now.holdit ought to be getting tired of karma fortunes by now.holdit ought to be getting tired of karma fortunes by now.holdit ought to be getting tired of karma fortunes by now.holdit ought to be getting tired of karma fortunes by now.holdit ought to be getting tired of karma fortunes by now.
 
Posts: 79
Karma: 470352
Join Date: Dec 2012
Device: Kindle Fire, IPad
conversion question

A bit wet around the ears here and have a question as I want to take an rtf document, open in Calibre and convert to an e pub and a mobi. I know how to do this but I need to know two things.

If I want my epub to have the same styling as the rtf document ( it uses the Times New Roman family) I tried to edit metadata / look and feel/ embed font family and chose Times New Roman and it did not work. How do I add css properties to the file so the epub displays inTimes New Roman font?

Second question, AM I right that I cannot embed font in a .mobi?

thank you

HH
holdit is offline   Reply With Quote
Old 12-12-2012, 08:04 AM   #2
pdurrant
Santa Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 33,349
Karma: 90779286
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Quote:
Originally Posted by holdit View Post
If I want my epub to have the same styling as the rtf document ( it uses the Times New Roman family) I tried to edit metadata / look and feel/ embed font family and chose Times New Roman and it did not work. How do I add css properties to the file so the epub displays inTimes New Roman font?

Second question, AM I right that I cannot embed font in a .mobi?
1. You almost certainly don't want to do that. Why do you want to impose your choice of body text font on your reader?

2. Fonts cannot be embedded in Mobipocket format ebooks. They can be embedded in Amazon's KF8 format ebooks ('azw3').
pdurrant is offline   Reply With Quote
Old 12-12-2012, 08:11 AM   #3
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 667
Karma: 436517
Join Date: Jul 2010
Location: UK
Device: PRS-300 (R.I.P.), PW2, Nexus7
Quote:
Originally Posted by holdit View Post
How do I add css properties to the file so the epub displays inTimes New Roman font?
Bearing in mind pdurrant's reply, if you do still want to do this:

On the Look & Feel tab of conversion, in Extra CSS, use: body { font-family:"Times New Roman" }

(This should work without any embedding since Times New Roman is such a standard font.)

Last edited by Agama; 12-12-2012 at 10:10 AM.
Agama is offline   Reply With Quote
Old 12-24-2012, 02:37 PM   #4
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
Posts: 313
Karma: 1028382
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Quote:
Originally Posted by pdurrant View Post
1. You almost certainly don't want to do that. Why do you want to impose your choice of body text font on your reader?
It's perfectly reasonable for an EPUB book to set a font. There's a well-established standard for how these sorts of things are supposed to behave in the HTML/CSS world:

For fonts and other choices that can reasonably be overridden by client stylesheets (in this case, the reader's stylesheet), specify them as you normally would.

By default, the client stylesheet should not override these choices. The client's default font (for files that have no font specified) should generally not be set using stylesheets, but if your client must do so for some reason, it should do so by checking for a font on the HTML tag or BODY tag, and if no font declaration exists, setting one.

If the user asks to use a specific style instead of the publisher-provided style, the client should add a user style that takes precedence over the page style.

If you (the publisher) have a specific style that must not be overridden by the reader (e.g. for special headings that should not be treated like body text), specify !important for that style. The client should never use !important in its user style, so this should never be overridden.

Any deviation from that behavior should be considered a serious bug in the client. Similarly, using !important for styles that aren't really important should be considered a serious bug in the book.

Last edited by dgatwood; 12-24-2012 at 02:43 PM.
dgatwood 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
Conversion question Twonko Conversion 1 07-16-2011 06:48 PM
Conversion Question bschase2 Calibre 2 12-22-2009 10:51 PM
Conversion Question kpfeifle Sony Reader 1 11-04-2009 08:41 AM
conversion question Indigo Ink Kindle Formats 3 03-09-2009 12:02 PM
PRS-500 Conversion question gczobel Sony Reader Dev Corner 1 01-15-2008 02:36 AM


All times are GMT -4. The time now is 08:34 PM.


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