aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2023-04-05 17:41:43 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2023-04-05 17:52:25 +0300
commit39490d6d8f7a0581f2502529c07fa1c2d67e3237 (patch)
treebea0d37adabdece81d0d8636f9cf132b3f79c5b0 /src
parent9f659ec927583a11f6fdc8a833d03876ffaab370 (diff)
downloadsciteco-39490d6d8f7a0581f2502529c07fa1c2d67e3237.tar.gz
default font is now "Monospace" instead of Courier
* Courier has the quirk that letter sequences like "fi" are turned into ligatures which breaks the monospaced nature of the display. * We assume that "Monospace" is also more portable, although it hasn't yet been tested on Windows. * only relevant for the Gtk UI of course * It might be a good idea to set SCI_STYLESETCHECKMONOSPACED as well (FIXME?)
Diffstat (limited to 'src')
-rw-r--r--src/view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view.c b/src/view.c
index 02f94a4..d1e55d2 100644
--- a/src/view.c
+++ b/src/view.c
@@ -93,7 +93,7 @@ teco_view_setup(teco_view_t *ctx)
teco_view_ssm(ctx, SCI_STYLESETFORE, STYLE_DEFAULT, 0xFFFFFF);
teco_view_ssm(ctx, SCI_STYLESETBACK, STYLE_DEFAULT, 0x000000);
- teco_view_ssm(ctx, SCI_STYLESETFONT, STYLE_DEFAULT, (sptr_t)"Courier");
+ teco_view_ssm(ctx, SCI_STYLESETFONT, STYLE_DEFAULT, (sptr_t)"Monospace");
teco_view_ssm(ctx, SCI_STYLECLEARALL, 0, 0);
/*