On 15/08/2022 18:21, Tom Ritter wrote:
It looks like OTS does not support sanity-checking COLR[0] so I am curious if we have fuzz coverage for this feature?


Not yet (at least not to my knowledge); it'd be good to get started on that.

Also, I am intending to look at adding COLR support to OTS, as an element of defence-in-depth here.

JK


-tom

[0] https://github.com/khaledhosny/ots/issues/202 <https://github.com/khaledhosny/ots/issues/202>

On Mon, Aug 15, 2022 at 8:24 AM Jonathan Kew <[email protected] <mailto:[email protected]>> wrote:

    Summary:

    COLRv1 is a new format for full-color OpenType fonts, building on the
    original COLR (v0) format for simple colored layers and providing a
    richer graphic model including gradients and transformations.

    This format provides font designers with graphic expressiveness
    comparable to SVG-in-OpenType, but with a much more concise and
    efficient representation; it also provides new flexibility via the use
    of OpenType variations to dynamically modify the glyphs.

    Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1740525
    <https://bugzilla.mozilla.org/show_bug.cgi?id=1740525>

    Specification:

    - https://docs.microsoft.com/en-gb/typography/opentype/spec/colr
    <https://docs.microsoft.com/en-gb/typography/opentype/spec/colr>
    - https://github.com/googlefonts/colr-gradients-spec
    <https://github.com/googlefonts/colr-gradients-spec>

    Standards Body:

    Part of the OpenType (Microsoft) / Open Font Format (ISO SC29/WG3)
    specs.

    Platform coverage: All

    Preference: gfx.font_rendering.colr_v1.enabled

    DevTools bug: n/a

    Other browsers:

    - Blink: partial implementation (without variations support) shipping;
        full implementation behind "Variable COLRv1 Fonts" flag in Canary.

    - WebKit: no current plans AFAIK

    web-platform-tests:

    Not yet in place; experimental fonts for interoperability testing are
    being created at https://github.com/googlefonts/color-fonts
    <https://github.com/googlefonts/color-fonts>, and I
    expect in due course an agreed test suite will emerge (though
    interoperably testing the precise rendering of complex graphic
    compositions is tricky...)

    As an interim measure, I propose to include some basic reftests in our
    tree, per https://phabricator.services.mozilla.com/D154586
    <https://phabricator.services.mozilla.com/D154586>.


    - Jonathan

-- You received this message because you are subscribed to the Google
    Groups "[email protected] <mailto:[email protected]>"
    group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to [email protected]
    <mailto:dev-platform%[email protected]>.
    To view this discussion on the web visit
    
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/647d1ea4-4e13-7364-1ce0-6f44178a3bb0%40gmail.com
    
<https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/647d1ea4-4e13-7364-1ce0-6f44178a3bb0%40gmail.com>.


--
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/9c2627cb-7583-bc4e-b10a-b0371ba6cd09%40gmail.com.

Reply via email to