Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CJK proportional spacing with font-kerning: all #1119

Open
MurakamiShinyu opened this issue Feb 2, 2023 · 0 comments
Open

CJK proportional spacing with font-kerning: all #1119

MurakamiShinyu opened this issue Feb 2, 2023 · 0 comments

Comments

@MurakamiShinyu
Copy link
Member

The interaction of CSS font-kerning property and CJK fonts proportional spacing ('palt'/'vpal' OpenType features) is under discussing in w3c/csswg-drafts#6723 and it is proposed to extend the font-kerning property values.

  1. font-kerning: none = no kerning
  2. font-kerning: normal = kern non-CJK only
  3. font-kerning: all (new keyword) = apply palt/vpal and kern everything

See w3c/csswg-drafts#6723 (comment) for details.

We may need to polyfill this new font-kerning property spec in Vivliostyle.js, e.g., set font-feature-settings: 'palt' (or 'vpal' if writing-mode is vertical) for font-kerning: all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant