62 asc_font_cache_init(); |
62 asc_font_cache_init(); |
63 |
63 |
64 // set a default font but do not load it |
64 // set a default font but do not load it |
65 asc_context.active_font.style = ASC_FONT_REGULAR; |
65 asc_context.active_font.style = ASC_FONT_REGULAR; |
66 asc_context.active_font.size = 14; |
66 asc_context.active_font.size = 14; |
|
67 |
|
68 // default UI scale |
|
69 asc_context.ui_scale = 1.0f; |
67 |
70 |
68 // no window, yet |
71 // no window, yet |
69 asc_context.active_window = ASC_MAX_WINDOWS; |
72 asc_context.active_window = ASC_MAX_WINDOWS; |
70 |
73 |
71 // initialize error buffer |
74 // initialize error buffer |