The function first calls check_fonts to determine if the necessary
fonts are installed. If all fonts are installed, it prints a message and exits.
If any fonts are missing, it retrieves the font assets path from font_path and
uses extrafont::font_import to import the fonts into the system without prompting
the user, following a procedure similar to the one used in the hrbrthemes package.
Value
The function returns invisibly. If all fonts are installed, it simply prints an informational message. If fonts are missing and the import is successful, no output is generated.
Details
This function checks for the required Ubuntu fonts used in the fmggp2 package and imports them if they are not already installed.