/window [-abBcCdeEfg[N]hikl[N]mnoprRsvwxz] [-tN,..,N] [+bdeflLmnstx] <@name> [x y [w h]] [/command] [popup.txt] [font [size]] [iconfile [N]]

note the [font [size]]
means u MUST state the fontname and then optionally the size

so

window -g1kz0 @LIST.ALL fontname 9


**** NOTE this is a real font size NOT the skewed font sizes the font dialog box uses ****

If your manually setting it using the dialog, and then returning to your script and doing it, then it wont match, do this...

(1) Dialog select your wanted font size
(2) //echo -s $window(@LIST.ALL).fontsize
(3) insert statuswindow displayed fontsize into script