[Webkit-unassigned] [Bug 218372] New: [GTK][WPE] Missing support for COLR/CPAL fonts.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 29 20:19:19 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=218372

            Bug ID: 218372
           Summary: [GTK][WPE] Missing support for COLR/CPAL fonts.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: clopez at igalia.com
                CC: bugs-noreply at webkitgtk.org, cgarcia at igalia.com,
                    mmaxfield at apple.com, simon.fraser at apple.com

COLR/CPAL fonts are one type of OpenType color fonts. These fonts compose layers of vector outline glyphs and color palette information into the final colored glyph. Because they are vector based, COLR/CPAL fonts provide for faster downloads and require less storage.

Online tests:
https://pixelambacht.nl/demo/color-font-test.html
https://pixelambacht.nl/chromacheck/

On r269177 43 new layout tests were added to test the support for COLR/CPAL and SBIX fonts.

As far as I can see WebKitGTK/WPE supports SBIX fonts but not COLR fonts.

This are the failures from those 43 test addeds:

Regressions: Unexpected image-only failures (29)
  fast/text/canvas-color-fonts/COLR.html [ ImageOnlyFailure ]
  fast/text/canvas-color-fonts/fill-color-shadow-COLR.html [ ImageOnlyFailure ]
  fast/text/canvas-color-fonts/fill-color-shadow-ctm-COLR.html [ ImageOnlyFailure ]
  fast/text/canvas-color-fonts/linedash-COLR.html [ ImageOnlyFailure ]
  fast/text/canvas-color-fonts/stroke-color-COLR.html [ ImageOnlyFailure ]
  fast/text/canvas-color-fonts/stroke-color-shadow-COLR.html [ ImageOnlyFailure ]
  fast/text/canvas-color-fonts/stroke-color-shadow-ctm-COLR.html [ ImageOnlyFailure ]
  fast/text/canvas-color-fonts/stroke-gradient-COLR-3.html [ ImageOnlyFailure ]
  fast/text/canvas-color-fonts/stroke-gradient-COLR-4.html [ ImageOnlyFailure ]
  http/tests/canvas/color-fonts/ctm-sbix-2.html [ ImageOnlyFailure ]
  http/tests/canvas/color-fonts/ctm-sbix-3.html [ ImageOnlyFailure ]
  http/tests/canvas/color-fonts/ctm-sbix-4.html [ ImageOnlyFailure ]
  http/tests/canvas/color-fonts/fill-color-sbix-2.html [ ImageOnlyFailure ]
  http/tests/canvas/color-fonts/fill-color-sbix-3.html [ ImageOnlyFailure ]
  http/tests/canvas/color-fonts/fill-color-sbix-4.html [ ImageOnlyFailure ]
  http/tests/canvas/color-fonts/fill-color-shadow-ctm-sbix.html [ ImageOnlyFailure ]
  http/tests/canvas/color-fonts/fill-color-shadow-sbix.html [ ImageOnlyFailure ]
  http/tests/canvas/color-fonts/fill-gradient-sbix-2.html [ ImageOnlyFailure ]
  http/tests/canvas/color-fonts/fill-gradient-sbix-3.html [ ImageOnlyFailure ]
  http/tests/canvas/color-fonts/fill-gradient-sbix-4.html [ ImageOnlyFailure ]
  http/tests/canvas/color-fonts/stroke-color-sbix.html [ ImageOnlyFailure ]
  http/tests/canvas/color-fonts/stroke-color-shadow-ctm-sbix.html [ ImageOnlyFailure ]
  http/tests/canvas/color-fonts/stroke-color-shadow-sbix.html [ ImageOnlyFailure ]
  http/tests/canvas/color-fonts/stroke-gradient-sbix-2.html [ ImageOnlyFailure ]
  http/tests/canvas/color-fonts/stroke-gradient-sbix-3.html [ ImageOnlyFailure ]
  http/tests/canvas/color-fonts/stroke-gradient-sbix-4.html [ ImageOnlyFailure ]
  http/tests/canvas/color-fonts/text-sbix-2.html [ ImageOnlyFailure ]
  http/tests/canvas/color-fonts/text-sbix-3.html [ ImageOnlyFailure ]
  http/tests/canvas/color-fonts/text-sbix-4.html [ ImageOnlyFailure ]

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201030/7b950b16/attachment.htm>


More information about the webkit-unassigned mailing list