From afe3407ca567c649f627a1f86fbbaa94426dc970 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 19 Feb 2017 19:36:27 -0600 Subject: [PATCH] [symfont] More --- Snippets/symfont.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Snippets/symfont.py b/Snippets/symfont.py index d3da0f7ea..48f52f9ef 100755 --- a/Snippets/symfont.py +++ b/Snippets/symfont.py @@ -267,7 +267,7 @@ class GlyphStatistics(object): @property def Slant(self): - slant = self.Covariance / self.VarianceY + slant = self.Covariance / self.VarianceY if self.VarianceY else 0 if abs(slant) < 1e-3: slant = 0 return slant