summaryrefslogtreecommitdiff
path: root/indra/llrender/llfontgl.cpp
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2026-04-23 01:42:02 +0300
committerGitHub <noreply@github.com>2026-04-23 01:42:02 +0300
commit84f50b9deccf239e59a7d6391ae4cb5d77aa4d54 (patch)
treef1654cba28953dfaa8a83dc4061529a1bc089297 /indra/llrender/llfontgl.cpp
parentdf5e1c1613798b51fb516c63a52fdbf8b8419fee (diff)
parentb265859fb4d4edea9a2797debabea1c0b611f671 (diff)
Merge pull request #5688 from secondlife/maxim/2026.02-xui-font-updates
#5693 UI updates related to font hinting
Diffstat (limited to 'indra/llrender/llfontgl.cpp')
-rw-r--r--indra/llrender/llfontgl.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/llrender/llfontgl.cpp b/indra/llrender/llfontgl.cpp
index b2ca9cce75..5d99c35047 100644
--- a/indra/llrender/llfontgl.cpp
+++ b/indra/llrender/llfontgl.cpp
@@ -1115,7 +1115,14 @@ LLFontGL* LLFontGL::getFontSansSerifSmallItalic()
//static
LLFontGL* LLFontGL::getFontSansSerif()
{
- static LLFontGL* fontp = getFont(LLFontDescriptor("SansSerif","Medium",0));
+ static LLFontGL* fontp = getFont(LLFontDescriptor("SansSerif","Small",0));
+ return fontp;
+}
+
+// static
+LLFontGL* LLFontGL::getFontSansSerifMedium()
+{
+ static LLFontGL* fontp = getFont(LLFontDescriptor("SansSerif", "Medium", 0));
return fontp;
}