This commit is contained in:
Kovid Goyal
2021-06-04 22:00:15 +05:30
parent d09c20aa01
commit 7dc3184f31

View File

@@ -693,7 +693,7 @@ create_os_window(PyObject UNUSED *self, PyObject *args) {
if (n_xdpi != xdpi || n_ydpi != ydpi) {
// this can happen if the window is moved by the OS to a different monitor when shown
xdpi = n_xdpi; ydpi = n_ydpi;
fonts_data = load_fonts_data(global_state.font_sz_in_pts, xdpi, ydpi);
fonts_data = load_fonts_data(OPT(font_size), xdpi, ydpi);
}
#endif
}