Qt Forum

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

    Unsolved finding aspect ratio of font in qt

    QML and Qt Quick
    2
    2
    411
    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.
    • A
      AYYAPPA last edited by

      is there anyway i can find aspect ratio , font height to font width ratio in qt? for a given font family

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

        Hi
        http://doc.qt.io/qt-5/qfontmetrics.html#details
        Can give all kinds of useful infor about a font.

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