diff options
| author | nibbbl <63519528+nibbbl@users.noreply.github.com> | 2026-07-12 16:29:00 -0700 |
|---|---|---|
| committer | nibbbl <63519528+nibbbl@users.noreply.github.com> | 2026-07-12 16:39:04 -0700 |
| commit | b9a83b97a937f6404ff6932a3ac9e2cc8f797456 (patch) | |
| tree | 9b35fb51729db9c1e9dca6af8356cea5a34d35bc /indra/llwindow/llwindowwin32.cpp | |
| parent | 79706342b25e165c4c6bddf45f60b4d541accc49 (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/llwindowwin32.cpp')
| -rw-r--r-- | indra/llwindow/llwindowwin32.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowwin32.cpp b/indra/llwindow/llwindowwin32.cpp index 8e3d2c9c8e..4c381b3c0a 100644 --- a/indra/llwindow/llwindowwin32.cpp +++ b/indra/llwindow/llwindowwin32.cpp @@ -4736,6 +4736,12 @@ std::vector<std::string> LLWindowWin32::getDynamicFallbackFontList() // Fonts previously in getFontListSans() have moved to fonts.xml. return std::vector<std::string>(); } + +LLFontFallbackMatch LLWindowWin32::findFallbackFontForChar(llwchar wch) +{ + // Not implemented on Windows; would use DirectWrite (IDWriteFontFallback::MapCharacters). + return LLFontFallbackMatch(); +} #endif // LL_WINDOWS inline LLWindowWin32::LLWindowWin32Thread::LLWindowWin32Thread() |
