Comment 3 for bug 1348173

Revision history for this message
qqqqqqqqq9 (qqqqqqqqq9) wrote :

An example file is available here.

https://dl.taz.de/epub/demo (08.07)

It is copyrighted, but an issue available for testing purposes, I'm not sure I can attach it without making the bug private. I will do so if you think it neccessary.

Search for "taz E-Book Generator Version 4.00" and compare the relative font-size with the original.

I tried ebook-convert --disable-font-rescaling, but no avail.

I think the problem is in oeb/normalize_css.py

line 128: vals = [x.cssText for x in cssvalue]

breaks it down to:

[u'normal', u'0.6111em', u'135%', u'arial', u'helvetica', u'verdana', u'sans-serif']

And the following loop breaks after recognizing 135% as font-size.