If you don't specify -f the height/width specify the height/width of the entire window. That includes the text area, the titlebar, the border around the window, etc. If you do specify -f, then the height/width only specifies the height/width of the text area.