View Single Post
Old 07-30-2008, 07:42 AM   #359
Hadrien
Feedbooks.com Co-Founder
Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.
 
Hadrien's Avatar
 
Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
Ever since Sony/Adobe released this update, I've been working on improving the output on Feedbooks. First I fixed the issue with the metadata, and yesterday, I did some work on the margins and chapter headers.

For the chapter headers: previously, they were designed purely with sizes in em. This caused a few problems: with a very large font, the numbers couldn't be displayed on the same line and it pushed the title of the chapter to the right. Since this graphic element doesn't necessarily need to scale like the rest of the text, I moved this element from em to px. It'll always be displayed at the same size from now and should fix all the problems.

Margins are a different issue. In CSS, I can't control the top or bottom margin of a page (I need to CSS3 paged media module for this). Because of this, I decided to add an Adobe extension to all files on Feedbooks, with default values for the margin and multi-column display. Now, the problem is with those little numbers displayed on the right. If I add a CSS margin, they're displayed in the margin. But if I add a margin using XSL-FO (XPGT) they're displayed in the text area, rather than the margin, and they may be displayed over the text sometimes.

Here's an example of an upgraded file (not online on Feedbooks yet). I don't know how I'll solve the margins problem yet, I must say that this number on the right column is pretty annoying and useless (we already got the page number at the bottom of the screen anyway).
Attached Files
File Type: epub Kadrey - Metrophage.epub (252.1 KB, 293 views)
Hadrien is offline   Reply With Quote