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

Add support for OT Variations #88

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

meirsadan
Copy link
Contributor

I've added preliminary support for variable fonts utilizing standard axes per this MS spec. It's basically an additional "features" panel that opens alongside the original one, containing the variation sliders.
To add variations support to any language page, you need to include the otvariations-v10.0.js script in your <head>. I've gone ahead and done it for index-hebrew.php and index.php.
I've had to make a few minor changes to the css and top.php files, but avoided breaching existing files too much in order not to break existing functionality. Hopefully everything else is intact...
If you find this useful, go ahead and merge, but I will be happy if this is also just used as a reference for a better solution!

meirsadan and others added 2 commits October 18, 2017 22:52
Update master to main project
Include new code for OT variations panel with standard axes according to the MS spec:
https://www.microsoft.com/typography/otspec/dvaraxisreg.htm
Some minor fixes in the Hebrew code
Adjustments to CSS and top panel HTML
@davelab6
Copy link
Contributor

❤️

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

Successfully merging this pull request may close these issues.

2 participants