diff options
author | nyamatongwe <devnull@localhost> | 2006-05-21 02:22:18 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2006-05-21 02:22:18 +0000 |
commit | d36b56fea83ecfefb4e7bdeefed3829afd27bd05 (patch) | |
tree | 702c99ceab3a741040465811d66fa28d271cba1b | |
parent | 00477cc3833791be94d5d95e9550bc5bb404f00f (diff) | |
download | scintilla-mirror-d36b56fea83ecfefb4e7bdeefed3829afd27bd05.tar.gz |
Default to Sans font when Pango enabled.
-rw-r--r-- | gtk/PlatGTK.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index 599d92954..c7a85fea2 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -2584,16 +2584,18 @@ const char *Platform::DefaultFont() { #ifdef G_OS_WIN32 return "Lucida Console"; #else - +#ifdef USE_PANGO + return "!Sans"; +#else return "lucidatypewriter"; #endif +#endif } int Platform::DefaultFontSize() { #ifdef G_OS_WIN32 return 10; #else - return 12; #endif } |