summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-05-29 07:30:13 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-05-29 07:30:13 +0300
commit53a3381dc9ccf9ca50b99b16bcc82919e9f31e4d (patch)
treeb2c22449f5af9a0ced156bf7e8c3df40011bdc07 /src/ui
parent23e31410556e9b4e22c3742b2b137bd5d96abac8 (diff)
Text: Use arrows from Iosevka
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/text.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/text.c b/src/ui/text.c
index 082899b0..55fd4254 100644
--- a/src/ui/text.c
+++ b/src/ui/text.c
@@ -578,6 +578,13 @@ iLocalDef iFont *characterFont_Font_(iFont *d, iChar ch, uint32_t *glyphIndex) {
578 return smol; 578 return smol;
579 } 579 }
580 } 580 }
581 /* Manual exceptions. */ {
582 if (ch >= 0x2190 && ch <= 0x2193 /* arrows */) {
583 d = font_Text_(iosevka_FontId + d->sizeId);
584 *glyphIndex = glyphIndex_Font_(d, ch);
585 return d;
586 }
587 }
581 if ((*glyphIndex = glyphIndex_Font_(d, ch)) != 0) { 588 if ((*glyphIndex = glyphIndex_Font_(d, ch)) != 0) {
582 return d; 589 return d;
583 } 590 }