In the image below the A line spacing is only 80% of the B spacing.
There are no line breaks in the paragraph. The settings are shown below.
I have attached a small project.
It happens at other times, somehow related to fontsize, width, and the letters in the line.
I suspect that this is not a bug, but just my misunderstanding of MinGapBetweenLines.
When the textsize is greater then 35, the line spacing is inconsistent BBCodeView1.Text = _ $" Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc fermentum elit vitae nisi faucibus, vitae lacinia turpis mattis. "$
www.b4x.com
My own solution based on @Erel explanation works perfectly.