diff --git a/pytagcloud/__init__.py b/pytagcloud/__init__.py index 3433543..6bc1830 100755 --- a/pytagcloud/__init__.py +++ b/pytagcloud/__init__.py @@ -97,8 +97,7 @@ def rotate(self, angle): self._update_mask() def update_fontsize(self): - self.font = font.Font(os.path.join(FONT_DIR, self.font_spec['ttf']), - self.tag['size']) + self.font = get_font(self.font_spec, self.tag['size']) def load_font(name): for font in FONT_CACHE: