View Single Post
Old 02-09-2020, 11:38 PM   #32
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,118
Karma: 92500001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by joe 1 View Post
If I use calibre to generate a MOBI from my original epub, I am seeing monospace fonts where I have used "font-family: monospace". But if I use any of the Amazon tools with my epub, I do not get any monospace fonts.
In my testing "font-family: monospace;" works properly in most situations. However there are two cases I have encountered where Kindle software incorrectly displays a proportional font instead of a monospace one. This problem occurs in the Kindle Previewer and Kindle for PC apps for books that support Enhanced Typesetting.

Quote:
Originally Posted by joe 1 View Post
Is there a trick to specifying monospace fonts in CSS so that it gets set properly by Kindle Create / Previewer?
A work around for the Kindle Previewer is to use "font-family: 'Source Code Pro', monospace;" instead. I don't know of any fix for Kindle for PC.

I am not sure how Kindle Create comes into this. Could you explain further?
jhowell is online now   Reply With Quote