Forum Bugs

rounding error?

facboy
i'm not sure if there is a rounding error but if i generate a PDF from the attached html file, i should get two rows with two cells on each line. instead the second cell in each row overflows and I end up with the cells on separate lines.

if i change the left and right margins to eg 15 or 17mm, then the page renders correctly.
  1. princetest.html1.2 kB
    Test HTML showing (rounding?) error
mikeday
Yes, rounding error. Changing the width to 49.9% will do the trick. :)
facboy
yes, i'd noticed that too. will this be fixed in a future version? unfortunately i don't have complete control over the style sheets and i don't really want to go and manually override every style that is applied.
mikeday
It is difficult to fix in the short-term. How about applying a very small negative margin to affected floats, would that be easier to apply uniformly?
facboy
yes that would be easier but still not that easy :(.

does 'not short-term' mean, 'not in 1 week/month' or is it more like 'on the wishlist for v10'? :)
mikeday
It would require a fairly fundamental change to Prince internals. This is a change we do plan to make in the future, but it may not be this year.