From bb390dd2ae73c35af84ff8f8bd75172a37aa9063 Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Tue, 12 Sep 2017 23:33:08 -0700 Subject: website etc --- misc/pylib/fontbuild/mix.pyx | 9 --------- 1 file changed, 9 deletions(-) (limited to 'misc') diff --git a/misc/pylib/fontbuild/mix.pyx b/misc/pylib/fontbuild/mix.pyx index 7fb1fa320..b47a38796 100644 --- a/misc/pylib/fontbuild/mix.pyx +++ b/misc/pylib/fontbuild/mix.pyx @@ -339,15 +339,6 @@ def interpolate(a,b,v,e=0): return le + (qe-le) * e def interpolateKerns(kA, kB, v): - # to yield correct kerning for Roboto output, we must emulate the behavior - # of old versions of this code; namely, take the kerning values of the first - # master instead of actually interpolating. - # old code: - # https://github.com/google/roboto/blob/7f083ac31241cc86d019ea6227fa508b9fcf39a6/scripts/lib/fontbuild/mix.py - # bug: - # https://github.com/google/roboto/issues/213 - # return dict(kA) - kerns = {} for pair, val in kA.items(): kerns[pair] = interpolate(val, kB.get(pair, 0), v.x) -- cgit v1.2.3