Linesize width cleanups

Packed and float pathes not really tested (builds and unit tests are OK though). The 775dfd7 commit is the most important one, and fixes several artefacts issues.