View Single Post
Old 01-16-2013, 12:25 AM   #10
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,054
Karma: 169810634
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by sysKin View Post
Was that the book with various <font> tags? Because if yes, it *was* kobo splitting words wrong.
As much as html doesn't specify how to split words, <font> is an inline html element and inline html elements are never a valid base on which to split. It *is* valid to have a portion of a word written in different font (imagine an emphasised letter) and boundaries of such font change are not sensible places for a newline.

In other words, while that book was silly, it was not invalid and there exists a perfectly logical way to render it, and what Kobo was doing was not it.

Unless you're referring to a different word split problem in which case I apologise for off-topic...
Strictly speaking since most epubs I've seen use a xhtml11 doctype which is not all that different from a XHTML 1.0 Strict declaration, the <font> tag is not supported. You should use CSS styling to obtain the same effects instead.

HTML5 does not support <font> and in HTML 4.01, it is deprecated -- at least, that's what my HTML validator has to say.

Regards,
David
DNSB is offline   Reply With Quote