website: big update with samples and vf stuff

This commit is contained in:
Rasmus Andersson 2018-10-07 18:32:03 -07:00
parent f6050df801
commit a0df8aa6d4
109 changed files with 232253 additions and 6999 deletions

View file

@ -86,6 +86,13 @@ function InterUIDynamicTracking(fontSize) {
return a + b * Math.pow(Math.E, c * fontSize)
}
// InterUIDynamicLineHeight produces the line height for the given font size
//
function InterUIDynamicLineHeight(fontSize) {
var l = 1.4
return Math.round(fontSize * l)
}
// Mac or not? Maybe even a buggy Safari?
var isMac = false