There is a maximum line width that avoids clashes between lines. Compute it and use it. Problem: do the maths about how to compute it.