8000 [css-fonts] Improve implementation guidance for font-kerning · Issue #7958 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

[css-fonts] Improve implementation guidance for font-kerning #7958

@jfkthame

Description

@jfkthame

The CSS Fonts spec says that when kerning is enabled (i.e. with font-kerning: normal, or with the initial auto value "at the discretion of the user agent"), the OpenType 'kern' (horizontal) or 'vkrn' (vertical) feature should be applied.

In https://bugzilla.mozilla.org/show_bug.cgi?id=1797431, the reporter points out that the OpenType feature registry says that

If 'kern' is activated, 'palt' must also be activated if it exists.

Similarly, 'vpal' is supposed to be applied along with 'vkrn'.

Current browser engines appear to have overlooked this, and by default apply 'kern' but not 'palt' in the reporter's testcase.

I'd suggest it would be helpful to mention these associated features in the CSS Fonts description of how kerning is implemented when using OpenType fonts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    css-fonts-4Current Worki18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0