Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-96246

Qt Quick: Text Item, unable to mix different fonts loaded with FontLoader (Windows only)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.15.2, 6.6
    • Quick: 2D Renderer
    • None
    • Windows 10
    • Windows

    Description

      I've attached a application sample containing a qml form that loads 2 fonts with a Fontloader. The window has a ColumnLayout that contains 2 Text items. For some reason, the font of the first Text Item overrides the fonts of all remaining text items (in the example 1).

      I've seen this issue on Windows but not Linux.

      As a screen says more than a thousand words... 

      The expected result should look like, on linux:

      qt_quick_font_text_bug.tar.gz

       

      Attachments

        1. image-2021-09-06-21-28-16-817.png
          7 kB
          Laurens Coudeville
        2. image-2021-09-06-21-29-50-792.png
          12 kB
          Laurens Coudeville
        3. qt_quick_font_text_bug.tar.gz
          46 kB
          Laurens Coudeville

        Activity

          People

            janichol Andy Nichols
            lcoudeville Laurens Coudeville
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: