diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2023-04-05 17:41:43 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2023-04-05 17:52:25 +0300 |
commit | 39490d6d8f7a0581f2502529c07fa1c2d67e3237 (patch) | |
tree | bea0d37adabdece81d0d8636f9cf132b3f79c5b0 /src/view.c | |
parent | 9f659ec927583a11f6fdc8a833d03876ffaab370 (diff) | |
download | sciteco-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/view.c')
-rw-r--r-- | src/view.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); /* |