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:
Dirk Hohndel 2014-08-22 15:22:02 -07:00
parent 438fe5dbde
commit e893f6bd9d
6 changed files with 37 additions and 5 deletions

View file

@ -28,9 +28,15 @@ void subsurface_user_info(struct user_info *info)
#define ICON_NAME "Subsurface.icns"
#define UI_FONT "Arial 12"
const char system_divelist_default_font[] = "Arial";
const char mac_system_divelist_default_font[] = "Arial";
const char *system_divelist_default_font = mac_system_divelist_default_font;
const int system_divelist_default_font_size = 10;
void subsurface_OS_pref_setup(void)
{
// nothing
}
const char *system_default_filename(void)
{
const char *home, *user;