View Single Post
Old 02-05-2010, 07:33 PM   #651
Kolenka
<Insert Wit Here>
Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.
 
Kolenka's Avatar
 
Posts: 1,017
Karma: 1275899
Join Date: Jan 2008
Location: Puget Sound
Device: Kindle Oasis, Kobo Forma
Quote:
Originally Posted by pauli View Post
@Kolenka, thanks for the explanation.. I'm new at this epub stuff. It is not as straightforward as I thought. I guess the actual formatting of the epubs can make a lot of difference.
The formatting follows the rules of HTML (or at least should be). The only difference is that using px/pt values for your fonts are not recommended (as they override the ability of the user to change the font size while reading). Images can be done either way.

The problem comes in with reality. Devices currently don't use any form of modern scaling algorithm, and so you get jagged scaling. This jagged scaling makes the small text on comics hard to read. So we use px sizes for the images because it is still supposed to work as expected (fixed size), and scale for the device on a computer where we can properly scale the image and keep the text readable. That's all wasted effort if the device isn't gonna honor the layout we tell it to.

The really weird thing is that SVG covers still seem to behave correctly on the iRex... it is just images.

EDIT: In fact, if devices started showing up that did even a simple bilinear scale, I'd be in a position where I wouldn't even have to worry about correct scaling or all that nonsense... using SVG to scale the images would be just fine as well, and processing the images for devices would become a lot simpler. Ideally, a device would do decent scaling and dithering, but I've yet to see anything more than decent dithering.

Last edited by Kolenka; 02-05-2010 at 07:40 PM.
Kolenka is offline   Reply With Quote