summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowmacosx.cpp
diff options
context:
space:
mode:
authornibbbl <63519528+nibbbl@users.noreply.github.com>2026-07-12 16:29:00 -0700
committernibbbl <63519528+nibbbl@users.noreply.github.com>2026-07-12 16:39:04 -0700
commitb9a83b97a937f6404ff6932a3ac9e2cc8f797456 (patch)
tree9b35fb51729db9c1e9dca6af8356cea5a34d35bc /indra/llwindow/llwindowmacosx.cpp
parent79706342b25e165c4c6bddf45f60b4d541accc49 (diff)
Fix missing CJK/Indic text on Linux with lazy font fallback
Resolve fallback fonts per-glyph from FontConfig on demand instead of a truncated static list, so CJK/Thai/Indic scripts render.
Diffstat (limited to 'indra/llwindow/llwindowmacosx.cpp')
-rw-r--r--indra/llwindow/llwindowmacosx.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowmacosx.cpp b/indra/llwindow/llwindowmacosx.cpp
index f8920318d3..b5dc841c45 100644
--- a/indra/llwindow/llwindowmacosx.cpp
+++ b/indra/llwindow/llwindowmacosx.cpp
@@ -2633,6 +2633,12 @@ std::vector<std::string> LLWindowMacOSX::getDynamicFallbackFontList()
return std::vector<std::string>();
}
+LLFontFallbackMatch LLWindowMacOSX::findFallbackFontForChar(llwchar wch)
+{
+ // Not implemented on macOS; would use CoreText (CTFontCreateForString).
+ return LLFontFallbackMatch();
+}
+
// static
MASK LLWindowMacOSX::modifiersToMask(S16 modifiers)
{