Skip to content

fontFamilies()

function fontFamilies(template, extra?): string[];

Font families offered in the designer’s font list: the standard fonts, the given extra families (e.g. the family of every registered PDF font), and every family already used in the template. Duplicates are removed (case-insensitive), order is kept.

Parameter Type Default value
template ReportTemplate undefined
extra readonly string[] []

string[]