mirror of https://github.com/kivy/kivy.git
text: fix text size on ios, sdlttf provider was still increasing the font.
This commit is contained in:
parent
a87b64b265
commit
2483bc898c
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue