![]() |
Re: New FBReader build in Extras-Devel
Having an odd problem here. As mentioned, FBreader has a problem with the CSS involved in epubs. I can't seem to get it to add a margin between paragraphs.
However: I just tried adding the same in the PREFERENCES - and that didn't work either. Am I right in suspecting this to be a bug? |
Re: New FBReader build in Extras-Devel
I had lots of trouble with paragraph spacing and epub. I fixed it in the end manually I recall with a search and replace, or one of the conversion tools had an option to add in a <br>.
Even now, even though I have "always use my CSS" enabled, it still seems to use the epub font size rather than my specified base. This setting does have some effect though, as without it, it uses the epub font type as well as size. Weird that it isn't "all or nothing" when it comes to css. |
Re: New FBReader build in Extras-Devel
The CSS handling (and particularly the user over-rides) is definitely broken, yes. There looks to have been some changes made to this in the current development version, so I'll see whether I can find what these are and get them backported.
|
Re: New FBReader build in Extras-Devel
Quote:
|
Re: New FBReader build in Extras-Devel
I've looked through the current development source code for FBReader and have backported all the changes which are described as bug fixes. I've uploaded a new version incorporating these fixes as 0.12.10-23 (for Diablo and Fremantle).
The descriptions given for the included changesets are:
The first one is the one that seems to fix CSS handling - this looks to fix all the issues I've seen with CSS and user-overrides anyway. The source code changes can be downloaded from here. |
Re: New FBReader build in Extras-Devel
Quote:
Can't say preferences work either, to be honest. Will fiddle a little more to see if its something I've done wrong, but the book looks fine in other epub readers. |
Re: New FBReader build in Extras-Devel
Quote:
i.e. does it support STYLE elements? Or just LINK elements with external CSS? It ought not be THAT simple, but right now the Calibre-produced e-books I've tested use embedded (ie. the STYLE element) CSS, while the Black Library (free) books that works as expected use linked (LINK element) CSS ... I'll re-write my convert pipeline and test with external CSS later. |
Re: New FBReader build in Extras-Devel
From a quick look at the source, it should support CSS via LINK or STYLE elements, or via STYLE attributes.
Can you provide an example of a book, and I'll try to trace what it's doing while parsing? You can email it to me (maemo at robinhill.me.uk). |
Re: New FBReader build in Extras-Devel
Quote:
|
Re: New FBReader build in Extras-Devel
Quote:
|
| All times are GMT. The time now is 02:15. |
vBulletin® Version 3.8.8