[ readonly ] fonts

Class: SwingUI.

Description:

Returns an array of fonts installed on the system.

Type: Array.<string>

Examples:

Getting a list of fonts installed on the system:

console.log(ui.fonts);

// example output:
[
  'Adobe Arabic',
  'Adobe Caslon Pro',
  'Adobe Caslon Pro Bold',
  ...
]