From 51a2936792a2c9777bb4060197d38f2b64f47844 Mon Sep 17 00:00:00 2001 From: ninastoessinger Date: Fri, 17 Oct 2014 22:24:09 +0200 Subject: [PATCH] added delete method via Frederik --- Touche.roboFontExt/lib/touche/touche.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Touche.roboFontExt/lib/touche/touche.py b/Touche.roboFontExt/lib/touche/touche.py index f85c9eb..4d42066 100644 --- a/Touche.roboFontExt/lib/touche/touche.py +++ b/Touche.roboFontExt/lib/touche/touche.py @@ -22,6 +22,10 @@ class Touche(object): def __init__(self, font): self.font = font self.flatKerning = font.naked().flatKerning + + def __del__(self): + self.font = None + self.flatKerning = None def findTouchingPairs(self, glyphs): """Finds all touching pairs in a list of glyphs.