Adds some text layout modes where the line heights are based on cap heights or font ascent alone These are required in order to port additional parts of QGIS text rendering to the QgsTextRenderer class