diff options
author | Rasmus Andersson <rasmus@notion.se> | 2017-09-13 09:33:08 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2017-09-13 09:33:08 +0300 |
commit | bb390dd2ae73c35af84ff8f8bd75172a37aa9063 (patch) | |
tree | 17c8988ce4dc4e6660831ac4aa1e6f4c36b771f1 /misc/pylib/fontbuild | |
parent | 41c4fb51609725a01684ee6bab9dc9007fac99e0 (diff) | |
download | inter-bb390dd2ae73c35af84ff8f8bd75172a37aa9063.tar.xz |
website etc
Diffstat (limited to 'misc/pylib/fontbuild')
-rw-r--r-- | misc/pylib/fontbuild/mix.pyx | 9 |
1 files changed, 0 insertions, 9 deletions
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) |