msls31.dll Error in Windows 10 and 11: Legacy Windows text layout errors

msls31.dll Windows 10 and 11 guide for legacy windows text layout errors

An older application fails when wrapping or laying out text and names msls31.dll.

What this DLL does

This filename is associated with Microsoft line-services layout support used by some legacy software.

Start with this check

Compare a small document and the original using a supported font. Identify whether layout fails on startup or only during document rendering.

Record the exact error, when it occurred, and the full module path if available. For a crash, open View reliability history from Start and look for the matching entry. The affected app, faulting module and exception code help distinguish an app problem from a system-wide one.

Choose the repair that fits

Use the publisher’s supported update and document formats. Preserve originals and test a copied document before replacing templates or app packages.

Start with Microsoft’s app repair options if only one supported application fails. If unrelated built-in Windows features also fail and you suspect system file corruption, use Microsoft’s DISM and System File Checker instructions. Use supported packages and avoid downloading individual DLL files.

Verify the repair

Render a sample and verify the intended line breaks and characters.

For a related check, see usp10.dll troubleshooting. Browse the DLL Errors & Fixes Library. Official reference: Microsoft’s Windows text layout documentation.