diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2021-10-11 18:05:27 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2021-10-11 18:05:27 +0300 |
commit | 2238f89db70a754614b01bb85adc5f16a63e7eb4 (patch) | |
tree | aaca40b6dda44f4f31f2bbd0145291a7902214ac /indra/llrender/llfontregistry.cpp | |
parent | dc972623a9d4d03c726a36baaf840934c1ba6ed0 (diff) |
SL-16141 Load fonts and generate glyphs on startup
Diffstat (limited to 'indra/llrender/llfontregistry.cpp')
-rw-r--r-- | indra/llrender/llfontregistry.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llrender/llfontregistry.cpp b/indra/llrender/llfontregistry.cpp index 33a33af160..bc1a2f8887 100644 --- a/indra/llrender/llfontregistry.cpp +++ b/indra/llrender/llfontregistry.cpp @@ -597,6 +597,11 @@ LLFontGL *LLFontRegistry::getFont(const LLFontDescriptor& desc) <<" style=[" << ((S32) desc.getStyle()) << "]" << " size=[" << desc.getSize() << "]" << LL_ENDL; } + else + { + //generate glyphs for ASCII chars to avoid stalls later + fontp->generateASCIIglyphs(); + } return fontp; } } |