summaryrefslogtreecommitdiff
path: root/src/ui/text.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-10-20 07:57:30 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-10-20 07:57:30 +0300
commit57cbcc6e864abd368bde93154b3580147936201c (patch)
tree157ecbb534f85d83ef39dcb68850e42d7cce6580 /src/ui/text.c
parent5b8c606183df3054c4691f89c97e346786947914 (diff)
Installing individual TTF files; generate fontpack.ini
Diffstat (limited to 'src/ui/text.c')
-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 4baf60d3..106c55e9 100644
--- a/src/ui/text.c
+++ b/src/ui/text.c
@@ -458,7 +458,7 @@ static void initFonts_Text_(iText *d) {
458 /* Check if there are auxiliary fonts available and set those up, too. */ 458 /* Check if there are auxiliary fonts available and set those up, too. */
459 iConstForEach(PtrArray, s, listSpecsByPriority_Fonts()) { 459 iConstForEach(PtrArray, s, listSpecsByPriority_Fonts()) {
460 const iFontSpec *spec = s.ptr; 460 const iFontSpec *spec = s.ptr;
461 if (spec->flags & auxiliary_FontSpecFlag) { 461 if (spec->flags & (auxiliary_FontSpecFlag | user_FontSpecFlag)) {
462 const int fontId = size_Array(&d->fonts); 462 const int fontId = size_Array(&d->fonts);
463 resize_Array(&d->fonts, fontId + maxVariants_Fonts); 463 resize_Array(&d->fonts, fontId + maxVariants_Fonts);
464 setupFontVariants_Text_(d, spec, fontId); 464 setupFontVariants_Text_(d, spec, fontId);