Add code supporting font, calculation of window and square size.

Signed-off-by: nppangband <nppangbanddev@verizon.net>