8000 [varLib] cpsp feature is not variable · Issue #995 · fonttools/fonttools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[varLib] cpsp feature is not variable #995

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

Closed
jenskutilek opened this issue Jul 5, 2017 · 1 comment
Closed

[varLib] cpsp feature is not variable #995

jenskutilek opened this issue Jul 5, 2017 · 1 comment

Comments

@jenskutilek
Copy link
Collaborator

In the attached demo build folder, the master fonts contain 1 kern pair and 1 cpsp lookup. When building a variable font with varLib, the kerning pair becomes variable, but the cpsp value is static.

The cpsp values in the wdth -1 master has XPlacement = 1, XAdvance = 2, and in the wdth 0 master XPlacement = 40, XAdvance = 80. The variable font only contains the 40/80 values.

More precisely, it looks like there are entries for the 40 and 80 in the variation item store in GDEF (item index 0 and 1), but they are not used in the cpsp lookup (Lookup Index 0).

Variable Test cpsp.zip

@jenskutilek
Copy link
Collaborator Author

Think I’ve found 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

1 participant
0