text: fix text size on ios, sdlttf provider was still increasing the font.

This commit is contained in:
Mathieu Virbel 2013-04-26 18:12:12 +02:00
parent a87b64b265
commit 2483bc898c
1 changed files with 1 additions and 2 deletions

View File

@ -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: