Contents | Start | End | Previous: KB0077: What import and export formats are available? | Next: KB0079: What fonts can I use in my book?


KB0078: Users cannot customize the fonts for my book

If your book contains hard-wired fonts, users may not be able to change the fonts on their device. To fix this, make sure your configuration has the following properties cleared (disabled):

This does mean that your book will use the default fonts for the device, but the trade-off is that your readers will have a more comfortable time if they need to change fonts.

There are some situations where it's necessary to specify a font name, for example if quoting code using a fixed-width font. In this case, you can specify which individual styles should use font names, with the configuration property Styles with font names.

This property can be used to work around a problem with the Kindle Paperwhite, which needs "New Courier" and also the generic font name "monospace" to prevent the fixed-width text being smaller than other text.

There is also a Styles with generic font names configuration option to only output generic font names (such as 'sans-serif') for specific styles. This usually works well on Epub readers, but on Kindle it can lead to unexpected results, such as a serif font being used when sans-serif is specified (in Kindle for PC and Kindle Previewer). However it is safe to specify a style that uses a monospace font such as Courier New.

Sometimes specifying a font for certain styles only works for Kindle Previewer, and Kindle for PC/Mac, but doesn't work when the book is distributed via Amazon. Using an embedded font may be a workaround for this.

There are still problems in Kindle Previewer 3 when trying to display a monospace font for aligning text, for example in code. Embedding a font does not seem to help. You can try using preformatted text instead, using a style whose name is Preformatted.


Contents | Start | End | Previous: KB0077: What import and export formats are available? | Next: KB0079: What fonts can I use in my book?