Move linefit() call back inside the done callback (bug 889184)

This fixes https://bugzilla.mozilla.org/show_bug.cgi?id=889184

~~This is far from ideal though, the reduced font-size makes everything really weird in some languages such as german (and even spanish is not great, but at least it fits now)~~ PR updated to cope with 2 lines tabs using vertical-align.