Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-3114

WebEngine on Linux doesn't render COLRv1 fonts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 6.8.1, 6.8.2, 6.9.0, 6.9.1
    • PySide
    • None
    • Linux/Wayland, Linux/X11

    Description

      Chrome supports COLRv1 fonts since Chrome 98 , but they don't render in a QtWebEngine on Linux.

      Steps to reproduce:

      1. Install PySide6.
      2. Download Noto-COLRv1.ttf from https://github.com/googlefonts/noto-emoji/tree/main/fonts.
      3. Download attachments.
      4. Run python colrv1_test.py and see that nothing is rendered.
      5. Open colrv1-test.html in Chrome and see that it renders an emoji.
      6. Compile colrv1_test.cpp and see that it also renders an emoji.

      The bug is not reproducible on Windows or macOS. QtWebEngine on these OSs does support COLRv1.

      Attachments

        1. chrome-gpu.png
          chrome-gpu.png
          264 kB
        2. colrv1_test.cpp
          0.6 kB
        3. colrv1_test.py
          0.7 kB
        4. colrv1-test.html
          0.4 kB
        5. colrv1-test.png
          colrv1-test.png
          23 kB
        6. console-output.png
          console-output.png
          217 kB
        7. pyside3114.jpg
          pyside3114.jpg
          54 kB
        8. pyside3114.zip
          1 kB
        9. Remote Debugging.png
          Remote Debugging.png
          69 kB
        10. system-pyside-console-output.png
          system-pyside-console-output.png
          203 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            nil-admirari Nil Admirari
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes