Provides information about a specific font.
The Font object provides information about a specific font, along with
the font technology used, helping disambiguate when multiple fonts
sharing the same PostScript name are installed on the system.
Example
from py_aep import parse
app = parse("project.aep")
comp = app.project.compositions[0]
font = comp.text_layers[0].text.source_text.value.font_object
print(font.post_script_name)
Note
This functionality was added in After Effects 24.0.
See: https://ae-scripting.docsforadobe.dev/text/fontobject/
Attributes
post_script_name
post_script_name: str = CosField(
"_font_data", "0", transform=str, default=""
)
The PostScript name of the font. Read-only.
version
version: str | None = CosField(
"_font_data", "5", transform=str
)
The version number of the font. Read-only.