calculate the grid base only on the number of lines and and now it works!
todo: we should reduce the difference in the lineheight
Merge branch 'master' of github.com:aoloe/scribus-script-repository