I _think_ the global system default fonts were never set. I added that to the _init_interface_kit_ function, and it fixes the system fonts under R5. It might have looked like it worked on Haiku before, but I think the be_fixed_font was just the first font found by the scanner in either Haiku and BeOS, while on Haiku, this was Courier just by chance. If this is not the right place to call _init_global_fonts, please tell me or just fix it. I tested under Haiku and BeOS and it looks like it works...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12346 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
3f762b0d64
commit
8a92263232
@ -632,7 +632,9 @@ _init_interface_kit_()
|
||||
status_t status = load_menu_settings(BMenu::sMenuInfo);
|
||||
|
||||
// TODO: fill the other static members
|
||||
|
||||
|
||||
_init_global_fonts();
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user