summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-11-12 07:12:48 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-11-12 07:12:48 +0200
commitdc4185b6cb5a5e12604d2910830061b5a4a0fd9a (patch)
treea2e1c5a1b4dc6c59d34fb0ab6f26a451475fefdd /src/ui
parenteed83717b6125ba655be9ffd618f301ef97948b2 (diff)
FontPack: Font dropdown includes IDs if ambiguous
If some fonts have the same human-readable name, the unique font ID will be added to show which font it actually is.
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/text.c b/src/ui/text.c
index 46e355d7..abe8640c 100644
--- a/src/ui/text.c
+++ b/src/ui/text.c
@@ -338,7 +338,7 @@ static void initFonts_Text_(iText *d) {
338 } 338 }
339 } 339 }
340#if !defined (NDEBUG) 340#if !defined (NDEBUG)
341 printf("[Text] %zu fonts ready\n", size_Array(&d->fonts)); 341 printf("[Text] %zu font variants ready\n", size_Array(&d->fonts));
342#endif 342#endif
343 gap_Text = iRound(gap_UI * d->contentFontSize); 343 gap_Text = iRound(gap_UI * d->contentFontSize);
344} 344}