View Single Post
Old 11-09-2014, 07:48 AM   #3470
cryzed
Evangelist
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
This most likely won't be added. It would require either taking the site's CSS and merging it into the resulting e-book file (which might result in strange layout issues etc.), or creating special cases in the adapter to transform the span-tags to either contain their CSS directly in a style-attribute or turn them into font-tags with a matching color-attribute (even if inaccurate) -- which both is hard to automate without a DOM-aware HTML parser (such as a real browsers) or a proper CSS parsing library as far as I know. Then the question also comes up where to stop: Should we also add custom fonts, and other strange CSS definitions for other sites etc.

But maybe Jimm has a completely different opinion, so wait for his response too.

Last edited by cryzed; 11-09-2014 at 08:30 AM.
cryzed is offline