ass_check_font_substitution
Identify ASS subtitle styles whose requested font is substituted by fontconfig, preventing them from rendering as intended.
Instructions
Compare every style's requested font with the family fontconfig resolves.
Args:
doc_id: document id or None for the current document.
Returns:
{"doc_id", "fontconfig", "checked", "substituted", "substitutions", "styles"}. Each entry of styles is
{"name", "requested", "bold", "italic", "resolved", "resolved_style", "file", "substituted", "candidates", "available", "error"};
substitutions lists the style names whose request is substituted,
which is exactly the set of styles that will not render in the font
they ask for.
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": "ass_check_font_substitution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||