Texture density in spline mesh

yes, equal tangent lengths is kind of workaround, but I would like to have full freedom of tangents lengths to be able to do all the fancy shapes that spline allows, but this sometimes need to use short or long tangents.

That is why I am looking at way to manually set UV for all vertices with U-coord that goes with true length of spline centerline.