mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Use the Windows default font on Windows 7 and 8/8.1
It contains the characters we need and will make the application look more "native". See #712 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
438fe5dbde
commit
e893f6bd9d
6 changed files with 37 additions and 5 deletions
8
linux.c
8
linux.c
|
@ -12,9 +12,15 @@
|
|||
#include <unistd.h>
|
||||
#include <pwd.h>
|
||||
|
||||
const char system_divelist_default_font[] = "Sans";
|
||||
const char linux_system_divelist_default_font[] = "Sans";
|
||||
const char *system_divelist_default_font = linux_system_divelist_default_font;
|
||||
const int system_divelist_default_font_size = 8;
|
||||
|
||||
void subsurface_OS_pref_setup(void)
|
||||
{
|
||||
// nothing
|
||||
}
|
||||
|
||||
void subsurface_user_info(struct user_info *user)
|
||||
{
|
||||
struct passwd *pwd = getpwuid(getuid());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue