View Single Post
Old 08-30-2010, 12:51 PM   #10
pdurrant
The Grand 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: 71,596
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Quote:
Originally Posted by pdurrant View Post
TSo what to use instead? We use the text-indent. We can specify this in whole multiples of em. To have a paragraph indented by two em with a 1em text indent, we specify a text-indent of -2em, and then add 12 non-breaking spaces to the start of the paragraph.
Ah, I’ve found a problem. It was mentioned elsewhere, but having double-checked I can confirm that when using the em unit in specifying the text-indent, the indent used is independent on Kindle from the font size of the paragraph.

The em-unit /does/ scale depending on the base font size chosen in the Kindle user interface. I now need to check whether that's also the case when it's specified in points or pixels - does the indent get bigger if a bigger base font is chosen? I suspect not, but I have to check.

This does introduce some problems for the paragraph left indent procedure so far suggested - it only really works for text at the base font size.

Sigh... This is really rather complex, and no proper specifications from Amazon.
pdurrant is offline   Reply With Quote