Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to Fix Clipping of Synthesized Italic Font
Qt 6.11 is out! See what's new in the release blog

How to Fix Clipping of Synthesized Italic Font

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 1.5k 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.
  • A Offline
    A Offline
    atluft
    wrote on last edited by
    #1

    I observe horizontal clipping of individual characters when using italic styles from a TTF, the file is Vera.ttf and is the only font on this system.

    System uses linux and minimalegl platform from a QT5.1.2 build for ARM based processor.
    When using QT4 no distortion is observed.

    Below is a picture of the distortion that is happening (the QT5 font is on top and the QT4 font is on bottom).
    !http://goo.gl/d0UBKO(QT5 font is on top, QT4 font on bottom)!

    I am uncertain how to better investigate or improve this situation.

    How are italic fonts created inside the QT5 library?
    What ideas can I try to correct the clipping?

    Thank you for your time.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Asperamanca
      wrote on last edited by
      #2

      If the same code produces the correct output in Qt4, and an incorrect one in Qt5, I would submit a "Bug report":https://bugreports.qt-project.org/issues/?jql=

      1 Reply Last reply
      0
      • A Offline
        A Offline
        atluft
        wrote on last edited by
        #3

        Thanks for the idea. I have added material to "existing issue":https://bugreports.qt-project.org/browse/QTBUG-28670

        If a future reader of this post knows more about font renderring then please post information about source code that applies to the topic of synthesizing font glyphs.

        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