Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Arial italic font dont work right on qgraphicsscene

Arial italic font dont work right on qgraphicsscene

Scheduled Pinned Locked Moved Unsolved General and Desktop
fontspaintqgraphicssceneqgraphicsitem
2 Posts 2 Posters 891 Views 1 Watching
  • 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 Offline
    M Offline
    mehmetkarlik
    wrote on last edited by
    #1

    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
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved