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

WebEngine Opentype SVG colour font support (patches attached)

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.7.0 Beta1, 6.8.0 Beta2
    • WebEngine
    • None
    • All

    Description

      Upstream issue:

      https://bugs.chromium.org/p/chromium/issues/detail?id=306078

      although it was marked as "WONT FIX" in 2021, Google engineers actually did most of the work in 2022, but left it disabled. Attached are two patches which switches opentype SVG support on. Tested against patched 6.7.0 Beta 1.

       

      The patches and the CI to build the fedora RPMS are on https://github.com/HinTak/Qt6WE-OT-SVG/ and tested with PyQt6 in https://github.com/HinTak/minimal-web-browsers/

      . In a nutshell, try visiting either  https://yoksel.github.io/color-fonts-demo/ or  https://pixelambacht.nl/chromacheck/ before and after applying the patches.

       

      They are discussed in https://github.com/HinTak/chromium-mod-CI  .

       

      Attachments

        1. 0001-m118a-OT-SVG-hook.patch
          6 kB
          Hin-Tak Leung
        2. 0001-m118-OT-SVG-hook.patch
          6 kB
          Hin-Tak Leung
        3. 0001-m122a-OT-SVG-hook.patch
          6 kB
          Hin-Tak Leung
        4. 0002-m118-use-FreeType-for-non-Linux.patch
          4 kB
          Hin-Tak Leung
        5. 0002-m122-use-FreeType-for-non-Linux-OT-SVG-support.patch
          4 kB
          Hin-Tak Leung

        Issue Links

          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
              hintak Hin-Tak Leung
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes