aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.ja6
-rw-r--r--configure.in2
-rw-r--r--libsylph/prefs_common.c10
4 files changed, 22 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b2ea1bcc..8e8c38a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-09-30
+
+ * libsylph/prefs_common.c: prefs_common_read_config(): Win32: set the
+ default font to "MS Gothic 12" on Japanese environment.
+
2005-09-29
* version 2.1.3
diff --git a/ChangeLog.ja b/ChangeLog.ja
index 04a7c31b..14ab57d0 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,3 +1,9 @@
+2005-09-30
+
+ * libsylph/prefs_common.c: prefs_common_read_config(): Win32:
+ 日本語環境ではデフォルトのフォントを "MS Gothic 12" にする
+ ようにした。
+
2005-09-29
* version 2.1.3
diff --git a/configure.in b/configure.in
index c53b660f..b4c47669 100644
--- a/configure.in
+++ b/configure.in
@@ -9,7 +9,7 @@ MINOR_VERSION=1
MICRO_VERSION=3
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=
+EXTRA_VERSION=+svn
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target
diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c
index 71cc16ff..9b8af6e8 100644
--- a/libsylph/prefs_common.c
+++ b/libsylph/prefs_common.c
@@ -343,6 +343,16 @@ void prefs_common_read_config(void)
path = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S, COMMON_RC, NULL);
prefs_read_config(param, "Common", path, NULL);
+
+#ifdef G_OS_WIN32
+ if (!is_file_exist(path)) {
+ if (conv_is_ja_locale()) {
+ g_free(prefs_common.textfont);
+ prefs_common.textfont = g_strdup("MS Gothic 12");
+ }
+ }
+#endif
+
g_free(path);
prefs_common.online_mode = TRUE;