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

WebEngine on Linux doesn't render COLRv1 fonts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.1, 6.8.2, 6.9.0
    • WebEngine
    • 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 (provided example is in Python, but I don't think the bug has anything to do with Python binding per se).
      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.

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

      Attachments

        1. colrv1_test.py
          0.7 kB
        2. colrv1-test.html
          0.4 kB
        3. colrv1-test.png
          colrv1-test.png
          23 kB
        4. Remote Debugging.png
          Remote Debugging.png
          69 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:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes