Skip to content

[css-text-4] text-spacing and OpenType halt/vhal/chws/vchw features #8293

@kojiishi

Description

@kojiishi

Related with #8292 but I think this part is easier to discuss by splitting into a separate issue, so here it is.

When the text-spacing property makes some assumption on how glyphs are designed, such as specific parts of the glyph spaces are empty, it's great if font designers can override the behavior when they need.

To do this, I'd like to suggest that:

  1. For the adjacent trimming, if the font has chws or vchw, the trimming should be deferred to the feature.
  2. For other trimming, or for the adjacent trimming with the font without chws nor vchw, if the font has halt or vhal, the trimming should use the feature.
  3. For other cases, if UA wants to synthesize the trimming, [css-text-4] Glyphs may collide by "Fullwidth Punctuation Collapsing" #8292 can discuss more.

Thoughts? /cc @litherum @fantasai @frivoal @MurakamiShinyu @macnmm

Metadata

Metadata

Assignees

No one assigned

    Labels

    css-text-4i18n-clreqChinese language enablementi18n-jlreqJapanese language enablementi18n-klreqKorean language enablementi18n-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