TypeNetwork / variable-fonts-info-site

A brochure website to demonstrate the benefits of variable fonts
https://variablefonts.typenetwork.com
Apache License 2.0
36 stars 12 forks source link

Document line-spacing/justification rules #77

Open ghost opened 5 years ago

ghost commented 5 years ago

And organize code to make them easily modifyable by other people.

ghost commented 5 years ago

Initial documentation here, and I will be moving the "tolerance" parameters out of Javascript and into more human-accessible Jekyll data files.

ghost commented 5 years ago

Moved the line-height and justification rules out into a new file _data/calculations.json. For now it is still JSON since that is obviously easier to load into the live Javascript. If this proves too unreadable for people to need to be able to read it, I can try to come up with a better format.