Gimp.fonts_refresh

function fonts_refresh(): Boolean {
    // Gjs wrapper for gimp_fonts_refresh()
}
  

Refresh current fonts. This function always succeeds.

This procedure retrieves all fonts currently in the user's font path and updates the font dialogs accordingly. Depending on the amount of fonts on the system, this can take considerable time.

Returns

TRUE on success.