View Single Post
Old 08-13-2017, 03:23 PM   #24
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: 74,129
Karma: 315558334
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by Hitch View Post
So...how, exactly, would we all propose to achieve the centered placement of a single letter, which would change, depending upon which letter it is that's being used? Without the ability to calculate the width of the individual letter, and the size it's being displayed at, on the fly, and then calculate the remainder of the line...well.
Precise placement of a single centred letter is, of course, easy. It's the arranging for the rest of the text of the paragraph to follow on from it in a justified paragraph that's not easy.

And yes, of course I understand the different between print and ebook. But since the desired placement is conceptually simple, it's a shame it's not easy in ePub.

So what's the closest the OP can get? I suspect you're right in suggesting individual CSS depending on the initial letter. At least that way, for most font sizes, and most page widths, it will be so close to centred as to make no difference.
pdurrant is offline   Reply With Quote