Font object
FontObject
¶
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
Note
This functionality was added in After Effects 24.0.
See: https://ae-scripting.docsforadobe.dev/text/fontobject/
Attributes¶
design_vector
¶
design_vector = CosField["list[float] | None"](
"_font_data",
"4",
transform=_design_vector_from_cos,
read_only=True,
)
For variable fonts, an ordered array with a length matching the
number of design axes defined by the font. None for non-variable
fonts. Read-only.
Stored in the file as 16.16 fixed-point integers; exposed as floats
(e.g. [700.0, 87.5]).
family_prefix
¶
family_prefix: str | None
The family prefix of the variable font. For example, the family
of the PostScript name SFPro-Bold is SFPro. None for
non-variable fonts. Read-only.
post_script_name
¶
The PostScript name of the font. Read-only.