Before the call, the fontid and fontsize parameters may be filled with a default font-id and size. If a null value is used, default values are the system font and a size of 13 pixels. If the example parameter is NULL, a default text is used to display the fonts.
The window hosting fontselector catches the AP_TERM message : the function will terminate in the same manner than a user clic on the Cancel button.