View Single Post
Old 12-06-2007, 12:39 AM   #127
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,501
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by wallcraft View Post
The general approach to using a different font is to use "font face" in every <p> or <div>, for example from the User's Guide:
Code:
<p width="0em"><font face="serif">
You navigate Kindle using the select wheel, 
the cursor bar, the page turn buttons, 
the back button, and the keyboard:
</font></p>
There might be a way to use style sheets for this, but mobigen.exe will produce code like the above because the Reader does not have a global view of the file when rendering a page.
From a technical perspective, there's no reason to have a global view. Once the CSS code in a stylesheet is loaded into memory, all the software has to do is apply the rules to each element as it encounters it.
kovidgoyal is offline   Reply With Quote