diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/text.c | 7 |
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 | } |