Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Bug when using text Font.SmallCaps together with Text.HorizontalFit



  • Hey guys,

    I found a bug when using font.capitalization = Font.SmallCaps together with fontSizeMode != Text.FixedSize.
    You will see that only capital-letters are resized.

    CU
    mts

    sample:

        Text {
            width: 274
            height: 24
            text: "Asdfgioj Adgsdfgsdfgvsd Asdfgsdfgsf"
            font.capitalization: Font.SmallCaps
            fontSizeMode: Text.HorizontalFit
            horizontalAlignment: Text.AlignHCenter
            font.pixelSize: 20
        }
    

Log in to reply