diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-18 15:14:27 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-18 15:14:27 +0200 |
commit | 9134e4e9f8707b72286a3fac5a82092d99eb27c7 (patch) | |
tree | c04322b4c87ac94a6dc29dae7c0430cae0e380f3 /src/ui | |
parent | 034b32f9f394777d22009c23370ff441fdea2050 (diff) |
Render an Ideographic Space glyph using the Korean font
IssueID #41
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/text.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/text.c b/src/ui/text.c index 15959150..60337c10 100644 --- a/src/ui/text.c +++ b/src/ui/text.c | |||
@@ -74,7 +74,7 @@ void deinit_Glyph(iGlyph *d) { | |||
74 | iUnused(d); | 74 | iUnused(d); |
75 | } | 75 | } |
76 | 76 | ||
77 | iChar char_Glyph(const iGlyph *d) { | 77 | iChar codepoint_Glyph(const iGlyph *d) { |
78 | return d->node.key; | 78 | return d->node.key; |
79 | } | 79 | } |
80 | 80 | ||
@@ -514,7 +514,7 @@ iLocalDef iFont *characterFont_Font_(iFont *d, iChar ch, uint32_t *glyphIndex) { | |||
514 | } | 514 | } |
515 | } | 515 | } |
516 | /* Could be Korean. */ | 516 | /* Could be Korean. */ |
517 | if (ch > 0x3000) { | 517 | if (ch >= 0x3000) { |
518 | iFont *korean = font_Text_(d->koreanFont); | 518 | iFont *korean = font_Text_(d->koreanFont); |
519 | if (korean != d && (*glyphIndex = glyphIndex_Font_(korean, ch)) != 0) { | 519 | if (korean != d && (*glyphIndex = glyphIndex_Font_(korean, ch)) != 0) { |
520 | return korean; | 520 | return korean; |