Thread: HTML formatting
View Single Post
Old 03-12-2010, 03:17 PM   #8
frabjous
Wizard
frabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
frabjous's Avatar
 
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
Quote:
Originally Posted by charleski View Post
Relowability means that line- and page-breaks within a continuous block of text need to be left to the reading system, but tracking and kerning can most certainly be controlled, I've attached an example to show this (which also shows the tedious contortions needed to get around the primitive limitations of the epub spec).
But you're telling it to use a different character spacing than usual, as a function of its normal character spacing ("tight", "loose", etc., throughout this span)-- you're not actually doing real kerning there, where information taken from the fonts is used pairwise to correctly place each pair of characters appropriately spaced apart given their individual shapes -- that would still have to be done by the rendering system, no? (Or it would be a real pain.)

Quote:
(x)Html and CSS are hardly rocket-science, anyone can pick them up very quickly. They're just a tool, like a knife - everyone knows how to use a knife to cut some bread, but very few know how to use a knife to cut out an appendix.
Thank you -- you need to tell that to DawnFalcon.

P.S. I looked at the CSS file inside the ePub. I was surprised by what I saw, which is controlling spacing using margin-left and margin-right -- surely the letter-spacing CSS property would be more appropriate, with just one <span> tag rather than a separate one for each letter. Doesn't the ePub spec support that? Disappointing if it doesn't.

Last edited by frabjous; 03-12-2010 at 03:28 PM.
frabjous is offline   Reply With Quote