Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Arial italic font dont work right on qgraphicsscene

    General and Desktop
    fonts paint qgraphicsscene qgraphicsitem
    2
    2
    312
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mehmetkarlik last edited by

      I created two text with Arial Regular and Arial italic on qgraphicsscene using setItalic function. Result is above.

      cikti.png

      When I use italic style on Arial font, the width of text increases very high, this is not normal, you can try on MS Word or with any text editor. And I didn't use bold style but text seems with bold style.
       
      When I use other fonts when creating texts, Other fonts work right.

      For Example ( I used ordinarally with Courier New and Tahoma)

      cikti2.png

      I used Qt 5.13.1 and Windows.

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        Can you provide a minimal compilable code that shows that behaviour ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • First post
          Last post