windows.globalization.fontgroups.dll Error in Windows 10 and 11: Windows font mapping for text

Text in one script appears as empty squares or the wrong font, with windows.globalization.fontgroups.dll named in a diagnostic.
The Windows file inventory identifies windows.globalization.fontgroups.dll as Fonts Mapping API. Capture the actual error, file path and Windows build before making changes.
Check where the error occurs
Compare a built-in Windows app and the affected application using the same short text sample. Check the requested script and available Windows language or font components.
Check the font for the script that displays as squares. Compare the same short, harmless text in a built-in editor and the affected app. If both show boxes for the same script, check Microsoft’s supplemental fonts for that script on the affected Windows build. If only one app fails, give its publisher the exact displayed sample and font choice before adding Windows components. See Microsoft’s Windows supplemental font guidance.
Repair the affected feature
Install the matching optional Windows language and font components through Settings. Update the app if its document specifies an unavailable vendor font.
If Windows reports corruption of a protected system file, use Microsoft’s system file repair procedure. Obtain software and drivers through Windows Update or the applicable publisher.
Verify the repair
Open the same known text in the intended locale and verify its expected script displays in more than one supported app.
See the publisher’s guidance, the exact Windows file record, and the related PC Repair Atlas guide.