View Single Post
Old 10-27-2013, 03:32 PM   #16
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,557
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by Psymon View Post
<p class="olde"><span class="dropcap drop1"><img alt="I" src="../Images/init-t.png" /></span>hou <span style="white-space: nowrap">appere„</span> in my thouwts <span style="white-space: nowrap">ƒo</span> <span style="white-space: nowrap">o¤en</span> of lait and I can nowth healpe bwt thynke hauw vniqwe thou hauef becom, hauw <i>eccepcionall</i> ...
I'm sorry, but that code is wrong. You are using a font with non-standard mapping, and then some symbol codes for different characters. This is disallowed by the ePub spec:

"Fonts must not provide mappings for Unicode characters that would change the semantics of the text (e.g. mapping the letter "A" to a biohazard symbol)"

The long-s has its own Unicode spot, and ligatures should be dealt with by the font, not by using specific characters in the input. You should write:

Thou appereſt in my thouwts ſo often...

and use a font with ſ glyph and proper ſt and ft ligatures. Then you won't need those "nowrap" spans (as long as the reader understand that ſ is a letter)

Quote:
if the word happens to be at the end of the line and can "break", it will, and it won't do so with a hyphen, so there's no indication to the reader
which, of course, was common in 16th century typesetting
Jellby is offline   Reply With Quote