diff options
| author | nyamatongwe <unknown> | 2006-05-21 02:22:18 +0000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2006-05-21 02:22:18 +0000 |
| commit | 14436843d5eeb4a6c02b99cfb68e280b49a08468 (patch) | |
| tree | 702c99ceab3a741040465811d66fa28d271cba1b | |
| parent | 70ffac901f6c2a09b5232970e3e8d5bf4ec32e59 (diff) | |
| download | scintilla-mirror-14436843d5eeb4a6c02b99cfb68e280b49a08468.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 } |
