This method adds a font family
unique id of the font connector
the font family object
id generated on the engine side CONNECTOR_ID::FONT_FAMILY_ID
This method adds a font style
unique id of the font connector
the font object
id generated on the engine side CONNECTOR_ID::FONT_FAMILY_ID::FONT_STYLE_ID
This method returns the default font family. Be aware that the default font family will not change during the entire lifetime of the SDK session. It is not necessary to call this more than once in an integration, this value can be safely stored during the lifetime of this SDK session.
a default DocumentFontFamily
This method returns the default font. Be aware that the default font will not change during the entire lifetime of the SDK session. It is not necessary to call this more than once in an integration, this value can be safely stored during the lifetime of this SDK session.
a default DocumentFontStyle
This method returns the list of font families
DocumentFontFamily[]
This method returns a font family by id
the id of a specific font family
DocumentFontFamily properties
This method returns a font style by id
the id of a specific font style
DocumentFontStyle properties
This method returns the list of font styles for a specific family
the id of a specific font style
DocumentFontStyle[]
Check if the font family is used anywhere in the document
the id of the font family to check
boolean
Check if the font style is used anywhere in the document
the id of the font style to check
boolean
This method changes positions of font families
the position of the font family
the list of font family IDs
This method removes a font family
the id of a specific font family
This method removes a font style
the id of a specific font style
The FontController is responsible for all communication regarding font styles. Methods inside this controller can be called by
window.SDK.font.{method-name}