apply_script_fonts
Fix Indic text that appears as empty boxes in InDesign documents by switching affected runs to glyph-capable fonts and enabling the World-Ready composer; correct runs stay unchanged.
Instructions
Fix Indic text (Odia, Hindi/Devanagari, Bengali, Tamil, Telugu, Kannada, Malayalam, Gujarati, Gurmukhi) that shows as empty boxes: switches only those text runs to an installed font that has the glyphs (e.g. Noto Sans Oriya, Nirmala UI) and turns on the World-Ready composer. Runs already in an Indic font are left alone. Text-writing tools do this automatically; use this for existing documents.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "apply_script_fonts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageIndex | No | Page of frameIndex | |
| fontFamily | No | Force this font family for all Indic runs (e.g. "Noto Sans Oriya"). Default: best installed font per script. | |
| frameIndex | No | Only this text frame (with pageIndex). Default: whole document. |