w3c / w3c/csswg-drafts

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

Open
#8,293 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

css-text-4 i18n-clreq i18n-jlreq i18n-klreq i18n-tracker
Dominant language
Bikeshed
Stars
4.9k
Forks
816
PR merge metrics
PR metrics pending

Description

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, #8292 can discuss more.

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the CSS Text Level 4 text-spacing property and the proposed behavior for OpenType chws, vchw, halt, and vhal features. Review the related issue #8292 and the existing discussion before proposing wording. Done means the Working Group reaches agreement on the trimming rules and the specification is updated accordingly.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.