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

'rand' example does not work #9

Open
dscorbett opened this issue Oct 14, 2021 · 1 comment
Open

'rand' example does not work #9

dscorbett opened this issue Oct 14, 2021 · 1 comment

Comments

@dscorbett
Copy link

The example for 'rand' specifies font-feature-settings: 'rand' 1. In HarfBuzz’s implementation, that requests glyph 1 from the alternate substitution rule. To enable randomness, set the value to 255. However, since HarfBuzz enables 'rand' by default, it would be even better to not use font-feature-settings at all, and just let it work automatically.

@khaledhosny
Copy link

This issue affects many of the other special features as well, "init" 1 will cause HarfBuzz to apply it to all of the text unconditionally which makes the examples look wrong. If you want to enable init and disable everything else, disable all other features except it.

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

No branches or pull requests

2 participants