Finds a font by its unique identifier.
The ID of the font to find.
Returns the Font object if found, otherwise null.
Finds a font by its name.
The name of the font to find.
Returns the Font object if found, otherwise null.
Finds all fonts matching a specific ID.
The ID to match against.
Returns an array of Font objects matching the provided ID.
Finds all fonts matching a specific name.
The name to match against.
Returns an array of Font objects matching the provided name.
Represents the context for managing fonts in Penpot. This interface provides methods to interact with fonts, such as retrieving fonts by ID or name.