ass_get_style
Inspect one ASS subtitle style to view all fields and the font it resolves to via fontconfig. Use it to verify font availability and detect missing glyphs.
Instructions
Inspect one style, including the font it really resolves to.
Args:
name: style name (case-insensitive).
doc_id: document id or None for the current document.
include_glyphs: add a glyphs report (approximate Aegisub "characters
not in font" check via fontconfig) for sample_text.
sample_text: text used for the glyph report. When omitted it defaults
to the plain text of the lines that use the style (capped at 2000
characters).
Returns:
{"doc_id", "name", "style", "values", "font", "used", "usage"} —
style holds every ASS field as stored, values the typed view
(numbers/flags, colours verbatim), font the fontconfig resolution:
{requested, bold, italic, available, resolved, resolved_style, file, index, substituted, candidates, error}. With include_glyphs adds
glyphs ({font, missing, fallbacks, covered, checked, coverage_source}) and glyph_sample_text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| doc_id | No | ||
| sample_text | No | ||
| include_glyphs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||