dialog to select font .Obsolete function.
[fId,fSize]=getfont()
[fId,fSize]=getfont(str)
fnt=getfont()
fnt=getfont(str)
fnt=getfont(S=str,font=[fId,fSize])
:str character (e.g. “a”) : :fId integer, the number of the selected font : :fSize integer, the size of the selected font : :fnt vector [fId,fSize] :
This function designed to work with the xset function is also obsolete .Use the property editor ged instead.
getfont opens a graphic window to select a font. User has to select a font and a size clicking on the corresponding displayed character. Killing a keyboard key changes the displayed character.
[fId,fSize]=getfont();
`xset`_("font",fId,fSize)
`plot2d`_(0,0,rect=[0 0 10 10],axesflag=0)
`xstring`_(5,5,"string")