Fix T51889: new file or load factory settings results in broken UI.
[blender.git] / source / blender / blenfont / intern / blf.c
index 132a0ec38086178cecf6394dbb4ca260b1ec820b..5bd62980b6da621b5b8d7fd66a02d0442b487a59 100644 (file)
@@ -96,15 +96,16 @@ static FontBLF *blf_get(int fontid)
        return NULL;
 }
 
-int BLF_init(int points, int dpi)
+int BLF_init(void)
 {
        int i;
 
        for (i = 0; i < BLF_MAX_FONT; i++)
                global_font[i] = NULL;
 
-       global_font_points = points;
-       global_font_dpi = dpi;
+       global_font_points = 11;
+       global_font_dpi = 72;
+
        return blf_font_init();
 }