From 2483bc898c77e647bac045d67e06d0a31d8cbca1 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Fri, 26 Apr 2013 18:12:12 +0200 Subject: [PATCH] text: fix text size on ios, sdlttf provider was still increasing the font. --- kivy/core/text/text_sdlttf.pyx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kivy/core/text/text_sdlttf.pyx b/kivy/core/text/text_sdlttf.pyx index 1a3851318..74060623a 100644 --- a/kivy/core/text/text_sdlttf.pyx +++ b/kivy/core/text/text_sdlttf.pyx @@ -103,8 +103,7 @@ cdef TTF_Font *_get_font(self): fontname = self.options['font_name_r'] ext = fontname.split('.')[-1] if ext.lower() == 'ttf': - fontobject = TTF_OpenFont(fontname, - int(self.options['font_size'] * 1.333)) + fontobject = TTF_OpenFont(fontname, int(self.options['font_size'])) # fallback to search a system font if fontobject == NULL: