View Single Post
Old 02-26-2010, 06:26 PM   #26
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by charleski View Post
I agree with him completely concerning justification - the software needs to be able to handle hyphenation (which needs different tables for different languages).
I am pretty sure that the ePub spec allows for hyphenation points to be delineated in the mark-up. This way the layout engine doesn't need to care about the language at all... it only needs to understand the metrics of the font it is laying out and hyphenate at the best delineated hyphenation mark.

The layout engine also needs a very simple check to see if all of the words prior to the next paragraph mark will fit on one line... so you don't see three words on the last line in a para, one on the left, one centered and one flush right.

BOb
pilotbob is offline   Reply With Quote