diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp
index 4babd5028d..b74f2bf00a 100644
--- a/indra/llui/lltextbase.cpp
+++ b/indra/llui/lltextbase.cpp
@@ -2454,6 +2454,18 @@ void LLTextBase::setFont(const LLFontGL* font)
{
mFont = font;
mStyleDirty = true;
+
+ // FIRE-29425: User-selectable font and size for notecards
+ for (auto segment : mSegments)
+ {
+ LLStyleConstSP style = segment->getStyle();
+ LLStyleSP new_style(new LLStyle(*style));
+ new_style->setFont(mFont);
+ LLStyleConstSP sp(new_style);
+ segment->setStyle(sp);
+ }
+ needsReflow();
+ //
}
void LLTextBase::needsReflow(S32 index)
diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index 8fa3b56a2e..f46e0cd086 100644
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -25664,6 +25664,28 @@ Change of this parameter will affect the layout of buttons in notification toast
Value
Scripting
+ FSNotecardFontName
+
+ FSNotecardFontSize
+
FSEnableRightclickOnTransparentObjects